Add epoche timestamp conversion to visidatarc

This commit is contained in:
TKE
2020-12-18 10:14:16 +01:00
parent b12e3780af
commit 4710a31bf1
+3
View File
@@ -3,6 +3,9 @@
from datetime import datetime
import functools
def timefromts(val):
return datetime.fromtimestamp(float(val))
#sym-ts = hexNcoded NT-Timestamp = Nanoseconds since 01.01.1601
def sym_time(val):
a=int(val,16) #decode hex