GetDaylightState

GetDaylightState retrieves whether the system is operating in the STANDARD time zone or DAYLIGHT time zone.

Syntax

Copy
DST_STATE  GetDaylightState(
VOID
);

Parameters

None

Return Value

The function returns a DST_STATE enumeration value as follows:

Value Description

DST_STATE_STANDARD

The system is operating in STANDARD time zone.
DST_STATE_DAYLIGHT The system is operating in DAYLIGHT time zone.

Requirements

Minimum supported version Header Library

eRTOS 1.0 SDK

RtssApi.h rtkrnl.lib

See Also: