Converting GPS timestamp to actual Date / Time
Posted: Fri Mar 15, 2019 7:13 pm
As I'm a lazy animal before I start a test & try process I would like to check if anybody has already implemented a routine to convert the timestamp returned by the GPS
to the actual Date & Time. (don't care for the time zone for now)
According to the dictionary (point for me Klaus) :
January 1, 1970 00:00:01 or
December 31, 1970 23:59:59 or
Nov 6, 1970 11:32 AM (Neptune enters Sagittarius)
Anyone?
Thanks
Code: Select all
put mobileSensorReading ("location", true) into tDetails
put tDetails["timestamp"] into ActTimeStamp
According to the dictionary (point for me Klaus) :
But it doesn't specify "since when" in 1970, would it be:"timestamp": the time at which the measurement was taken, in seconds since 1970.
January 1, 1970 00:00:01 or
December 31, 1970 23:59:59 or
Nov 6, 1970 11:32 AM (Neptune enters Sagittarius)
Anyone?
Thanks