Message315433
Guys, what I said is the doc in help(datetime.timestamp) is 'Return POSIX timestamp as float.' So I assumed it is irrelevant to time zone, considering POSIX timestamp's definition. If it is then datetime.now and datetime.utcnow should return the same timestamp. But datetime.now().timestamp return a correct timestamp which I checked in the website https://www.unixtimestamp.com/ but datetime.utcnow().timestamp did not.
:) |
|
Date |
User |
Action |
Args |
2018-04-18 03:01:35 | Han Shaowen | set | recipients:
+ Han Shaowen, tim.peters, ned.deily |
2018-04-18 03:01:35 | Han Shaowen | set | messageid: <1524020495.39.0.682650639539.issue33293@psf.upfronthosting.co.za> |
2018-04-18 03:01:35 | Han Shaowen | link | issue33293 messages |
2018-04-18 03:01:34 | Han Shaowen | create | |
|