ZealOS/src/Doc/TimeDate.DD
xmm15 889d97383d 2 Spaces -> 1 Tab (4 spaced) for indentation
Fixed PCILookUpSingle code for this change
EdCodeTools reindent needs to be updated
2020-02-20 17:40:10 -06:00

3 lines
345 B
Text
Executable file

$WW,1$ZenithOS uses a 64-bit value, $LK,"CDate",A="MN:CDate"$, for date/time. The upper 32-bits are the days since Christ. The lower 32-bits store time of day divided by 4 billion which works out to 49710ths of a second. You can subtract two $LK,"CDate",A="MN:CDate"$'s to get a time span.
Use $LK,"CDATE_FREQ",A="MN:CDATE_FREQ"$ to convert.