UNIX has a system when all times are espressed in seconds since some special date in 1970, and I think you can get this is Windows as well.
Possibly by calling time() or another ANSI function?
Obviously in this case this system is easier to work with than a function which returns hours and seconds and stuff.
...though it does run out in 2037 or something (when all UNIX machines will die!)
update - just checked eVC, and there's no time function I must be thinking of Gnu GCC.
Oh well - I guess they stripped out all the UNIX stuff in Windows CE - makes sense.