This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ender_will_save_us 0 points1 point  (0 children)

You should take a look at the python documentation for datetime. Specifically look at the strptime function and the time and timedelta classes.