O Python trabalha no tempo com objetos de data
Yes, the strftime() method returns a string representing date and time using
date,
time or
datetime object.
Powerful Penguin