View Single Post
darethehair's Avatar
Posts: 273 | Thanked: 104 times | Joined on Mar 2007 @ Manitoba, Canada
#14
ag2:

Can you tell me how to decode the GPS time value returned from the 'Python-GPSbt' routines i.e. gpsdevice.fix.time? This is described here:

http://pymaemo.garage.maemo.org/docu...les/index.html

For me, the value returned looks like:

1206643018.0

I guess this is some sort of encoded GPS date/time value?

Thanks

EDIT: I think I found the answer -- in this case, the code is returning the UNIX internal time i.e. the number of seconds elapsed since 1970/010/01. Just to make matters even more confusing, sometimes 'GPS time' is the number of seconds elapsed from 1980/01/06.

Last edited by darethehair; 2008-03-27 at 22:18. Reason: Found answer: