Convert GPS time

  • Thread starter Thread starter Catalin Lungu
  • Start date Start date
C

Catalin Lungu

Hi,
How do I interpret the time from NMEA plot of GPS.

I want to convert 164447000 to UTC time.
Any ideea?

Thank you very much.
 
Assuming you are quoting the time field from a GPRMC sentence there is a
reference here:-
http://www.gpsinformation.org/dale/nmea.htm

A sample sentence would look like:-
$GPRMC,123519,A,4807.038,N,01131.000,E,022.4,084.4,230394,003.1,W*6A

Where the time is 12:35.19 (UTC), and the date is 23 March 1994

Peter
 
Hi,

I have example code in my book. Perhaps the "easy way" is to download
DecodeGPS from my homepage. This does it for you, and it is localized, so
it should work in any locale.

Dick

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.
 
Back
Top