Add epoche timestamp conversion to visidatarc
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user