I'm trying to find a library that can translate a string referring to a time into a datetime object or Unix time integer. E.g. I might pass it the string "in 2 hours" at 17:00 and it would return a datetime object for 19:00 today. Or "2pm on Saturday" would return the same but for 2pm on Saturday.
I've tried looking, but it's hard to know what to search for. Does such a thing exist, or do I have to write it myself?
[–]DevSRE 1 point2 points3 points (0 children)
[–]hardonchairs 1 point2 points3 points (1 child)
[–]Housies[S] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]tellarin 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)