AlpVir Well-Known Member Licensed User Longtime User Jan 9, 2017 #1 A web server returns the date of a file as a string of which carry two examples below: [Mon, 09 Jan 2017 14:58:02 GMT] [Fri, 28 Oct 2016 17:29:09 GMT] Click to expand... Is there any function that turns this string in ticks? Tanks
A web server returns the date of a file as a string of which carry two examples below: [Mon, 09 Jan 2017 14:58:02 GMT] [Fri, 28 Oct 2016 17:29:09 GMT] Click to expand... Is there any function that turns this string in ticks? Tanks
DonManfred Expert Licensed User Longtime User Jan 9, 2017 #2 You need to parse the date by yourself i guess. Maybe you can use datetime.dateformat to setup the correct placeholder to parse such a date Upvote 0
You need to parse the date by yourself i guess. Maybe you can use datetime.dateformat to setup the correct placeholder to parse such a date
AlpVir Well-Known Member Licensed User Longtime User Jan 9, 2017 #3 Thank you. That 's what I've done, but I thought that we could do with a more compact code. Upvote 0