Script execution

This commit is contained in:
2017-08-07 14:31:03 +02:00
parent 601809b971
commit 4f03f087ee
+5 -3
View File
@@ -59,9 +59,11 @@ def millis():
dt = datetime.now() - start_time
ms = (dt.days * 24 * 60 * 60 + dt.seconds) * 1000 + dt.microseconds / 1000.0
return ms
d = datetime.now()
print "datetime.now", d
#d = datetime.now()
#print "datetime.now", d
def TimestampMillisec64():
return int((datetime.datetime.utcnow() - datetime.datetime(1970, 1, 1)).total_seconds() * 1000)
now();
#format_delta(1496394245,1596400000);
ticks = time.time()