Novatel OM-20000041 Card Game User Manual


 
H Some Common Unit Conversions
MiLLennium GPSCard Software Version 4.50 Command Descriptions Manual Rev 1 237
H.6 GPS TIME OF WEEK TO CALENDAR DAY (EXAMPLE)
511200 seconds Day 511200 / 86400 seconds per day = 5.916666667 days
Hour .916666667 x 86400 / 3600 seconds per hour = 22.0000 hours
Minute .000 x 3600 / 60 seconds per minute = 0.000 minutes
Second .000 x 60 = 0.00 seconds
Day 5 (Thursday) + 22 hours, 0 minutes, 0 seconds into Friday.
H.6.1 Calendar Date to GPS Time (e.g. 11:30 hours, January 22, 1995)
Days from January 6, 1980 to January 22, 1995 = 15 years x 365 days /year = 5475 days
Add one day for each leap year (a year which is divisible by 4 or 400 but not by 100;
every 100 years a leap year is skipped) 4 days
Days into 1997 (22nd is not finished) 21 days
Total days 5500 days
Deduct 5 days: Jan. 1 through 5, 1980 5495 days
GPS Week: 5495 x 86400 seconds per day = 474768000 seconds/ 604800 sec per week = 785
Seconds into week 22nd day: 11.5 hrs x 3600 sec/hr 41400 seconds
GPS time of week: Week 785, 41400 second