Python ships with a standard datetime class which is powerful enough to represent time, and there is a ubiquitous module, dateutil, which extends it to do nearly anything people need to do with dates regularly.
Additionally, one would normally use an array of names and index it:
Additionally, one would normally use an array of names and index it: