get the timestamp in python

Foreword

In order to avoid disunity on temporal logic, python and Java timestamp needs to be unified. Java itself comes Long, so we work hard in python.

But the value of time time.time python library () is double. Internet search, he said round (time.time () * 1000) can be, skeptical about the test.

java:

class TimeTest{
	public static void main(String[] args){
		System.out.println(System.currentTimeMillis());
	}
}

Gap minus the hand speed of - -, ah, you can also ...

Published 74 original articles · won praise 23 · views 20000 +

Guess you like

Origin blog.csdn.net/shenshaoming/article/details/103992187