Add epoche timestamp conversion to visidatarc

This commit is contained in:
TKE
2020-12-18 10:14:16 +01:00
parent c6f3d2e0c0
commit b70bf282e0

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