Epoch Time: The epoch time represents the number of seconds that have elapsed since a specific reference point, usually January 1, 1970 (known as the Unix epoch). This reference point may vary ...
When using %Y in the format I would expect that the year in the return value has a length of four digits. When converting the string back to a date using strptime ...