GPS Module Interesting Date Returned
tomcrawford
Posts: 1,126
I have a 595K GPS Module (28501) that I am using for time and date only (this is a static project). Here is what it returns around midnite GMT:
I am using the RMC string.
Hour Minute Second Date Month Year
23 59 58 03 04 13
23 59 59 03 04 13
00 00 00 03 04 13 !!!!!!
00 00 01 04 04 13
In other words, it returns what seems to me to be the wrong date for the first second of the day.
Now, here is my question:
Do I not understand when the day begins; that is, is the returned date correct? Or is there a bug in this module?
I am using the RMC string.
Hour Minute Second Date Month Year
23 59 58 03 04 13
23 59 59 03 04 13
00 00 00 03 04 13 !!!!!!
00 00 01 04 04 13
In other words, it returns what seems to me to be the wrong date for the first second of the day.
Now, here is my question:
Do I not understand when the day begins; that is, is the returned date correct? Or is there a bug in this module?
Comments
So, it almost looks like your GPS is using the ISO 8601 standard, but their programmers did a modulo 24 on the hour.
According to this page, GPS time and date is calculated by an offset in weeks and seconds from 1980-01-06T12:00am. There is a handy calculator here. But, I couldn't find anything of relevance to the conversation in regards to the GPS time calculations.