Windows CE does not support the time.h structures, as I blog about here.  Fortunately Chris Tacke at OpenNETCF has created a free library to do this, which is available here, in order to make porting easier to CE.  (If you're not porting code you should be using the Win32 time functions, which WinCE does support.)

Whenever I point folks at non-MS software I always have the disclaimer that MS doesn't officially support it, buyer beware, etc etc...  I'm embarrassed to have to put that in for this case because I know Chris is a really good guy who's done a lot for the CE development community.  Thanks Chris for your work here!

[Author: John Spaith]