Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

from json timestamp to date python

for location in locations:
    print(datetime.datetime.fromtimestamp(
        int(location.get("timestampMs"))/1000
    ).strftime("%Y-%m-%dT%H:%M:%SZ"))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #json #timestamp #date #python
ADD COMMENT
Topic
Name
2+5 =