An error occurs in Windows:
OSError: [Errno 22] Invalid argument
while everything works as it should in Linux
from datetime import datetime
a = datetime.fromtimestamp(0)
a.timestamp() # - an error occurs here
How can I fix this in Windows?
An error occurs in Windows:
OSError: [Errno 22] Invalid argument
while everything works as it should in Linux
from datetime import datetime
a = datetime.fromtimestamp(0)
a.timestamp() # - an error occurs here
How can I fix this in Windows?