GetTickCount
This function retrieves the number of milliseconds that have elapsed since Windows CE was started.
DWORD GetTickCount( void );
GetSystemTime
This function retrieves the current system date and time. The system time is expressed in Coordinated Universal Time (UTC).
void GetSystemTime( LPSYSTEMTIME lpSystemTime );
GetLocalTime
This function retrieves the current local date and time.
void GetLocalTime( LPSYSTEMTIME lpSystemTime );