ArcGIS Online stores all date values in UTC. A short snippet to convert UTC timestamp to DateTime using Python.
from datetime import datetime
utcTimeStamp = 1472218452855
date = datetime.fromtimestamp(utcTimeStamp / 1e3)
print(date)
output: 2016-08-26 09:34:12.855000
Wednesday, April 11, 2018
Code snippet: Get DateTime from UTC timestamp in ArcGIS Online
Subscribe to:
Post Comments
(
Atom
)
0 comments :
Post a Comment