# Article: [*5 Levels of Handling Date and Time in Python*](https://medium.com/techtofreedom/5-levels-of-handling-date-and-time-in-python-46b601e47f65) # 1. Switch ...
Further reading: A date string must be of acceptable format to be accepted by datetime.strptime(). Read more about the different format codes here.