Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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
4+9 =