04-03-2013 07:17 AM
Hye guys, I need you again 😄
I'm trying to convert UTC to GPS time (unsigned int),
for that I need to get global PC time (not local) add the leap seconds (16- as far as I know)
and convert it to time in milisecs from the begining of the week ...
pleas help 😄
Thanks in advance,
Aj
04-04-2013 06:59 AM
I think you can use winapi functions:
GetLocalTime/GetSystemTime - get actual time (local/UCT)
LocalFileTimeToFileTime/FileTimeToLocalFileTime - converision between local and UTC
SystemTimeToFileTime/FileTimeToSystemTime - conversion between date format and number of 100ns unit from 1.1.1600
GetTimeZoneInformation - time zone information
(more info on msdn.com)