Get Epoch Timestamp in Nanoseconds in Python 3.6.9

前端 未结 0 1855
孤街浪徒
孤街浪徒 2020-12-08 14:35

In Python 3.7, time_ns() gives epoch timestamp in nanoseconds. How can it be got in 3.6.9? When I use time(), it gives me seconds.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题