LocalTimeMsg::GetTimeUTC

Windows CE 5.0 Not SupportedWindows Embedded NavReady 2009 Supported

10/16/2008

This method returns the Universal Coordinated Time (UTC) time.

Syntax

unsigned long GetTimeUTC();

Parameters

None.

Return Value

Returns the UTC time.

Remarks

The UTC time is a 32-bit value that indicates the number of milliseconds since midnight UTC of the current day. This value must be adjusted for time zone and for daylight saving time (DST). This value is used for setting the real-time clock (RTC). To calculate the offset to add to the UTC time in order to calculate the correct local time, use the GetTimeAdjust method.

Requirements

Header DBRLib.h
Library DBRLib.lib
Windows Embedded CE Windows CE 5.0, Windows Embedded NavReady 2009

See Also

Reference

LocalTimeMsg::GetDate
LocalTimeMsg::GetTimeAdjust
LocalTimeMsg Class
MSN Direct Services Classes