3.6.1
GetTime()
Summary
Returns the current time and date information, and the time-keeping capabilities of the hardware
platform.
Prototype
EFI_STATUS
GetTime (
OUT EFI_TIME
OUT EFI_TIME_CAPABILITIES
);
Parameters
Time
Capabilities
Related Definitions
//*******************************************************
//EFI_TIME
//*******************************************************
// This represents the current time information
typedef struct {
UINT16
UINT8
UINT8
UINT8
UINT8
UINT8
UINT8
UINT32
INT16
UINT8
UINT8
} EFI_TIME;
Version 1.02
*Time,
*Capabilities OPTIONAL
A pointer to storage to receive a snapshot of the current time. Type
is defined in "Related Definitions".
EFI_TIME
An optional pointer to a buffer to receive the real time clock device's
capabilities. Type
EFI_TIME_CAPABILITIES
Definitions".
Year;
Month;
Day;
Hour;
Minute;
Second;
Pad1;
Nanosecond;
TimeZone;
Daylight;
Pad2;
12/12/00
is defined in "Related
// 1998 – 20XX
// 1 – 12
// 1 – 31
// 0 – 23
// 0 – 59
// 0 – 59
// 0 – 999,999,999
// -1440 to 1440 or 2047
Services
85
Need help?
Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?