© 2004-19

Python Dates
Code examples to help you understand the date and time functions available in Python
Method Description
Convert string to time Input a text string and convert to date object
Date and Time Formatting text strings as standard date-time
Execution Time Formatted Time a piece of code with formatted output
Timer Setup a simple execution timer
Users age Input calculate the users age from an input date string