Script execution
This commit is contained in:
+5
-3
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user