Interesting about the use of timedelta, I need to look into it further as I notice this inconsistency (note the hour difference, also this is CnP from SO):
>>> datetime.datetime.fromtimestamp(2047570047) datetime.datetime(2034, 11, 19, 17, 27, 27)
>>> datetime.datetime.fromtimestamp(0) + datetime.timedelta(seconds=2047570047) datetime.datetime(2034, 11, 19, 18, 27, 27)
I'll be looking into this further.
Interesting about the use of timedelta, I need to look into it further as I notice this inconsistency (note the hour difference, also this is CnP from SO):
>>> datetime. datetime. fromtimestamp( 2047570047) datetime( 2034, 11, 19, 17, 27, 27)
datetime.
>>> datetime. datetime. fromtimestamp( 0) + datetime. timedelta( seconds= 2047570047) datetime( 2034, 11, 19, 18, 27, 27)
datetime.
I'll be looking into this further.