#ifndef _NTRTL_H
//
// Time
//
typedef struct _TIME_FIELDS
{
CSHORT Year; // 1601...
CSHORT Month; // 1..12
CSHORT Day; // 1..31
CSHORT Hour; // 0..23
CSHORT Minute; // 0..59
CSHORT Second; // 0..59
CSHORT Milliseconds; // 0..999
CSHORT Weekday; // 0..6 = Sunday..Saturday
} TIME_FIELDS, *PTIME_FIELDS;
View code on GitHubNo description available.
Describes time information for time conversion routines.
YearSpecifies a value from 1601 on.
MonthSpecifies a value from 1 to 12.
DaySpecifies a value from 1 to 31.
HourSpecifies a value from 0 to 23.
MinuteSpecifies a value from 0 to 59.
SecondSpecifies a value from 0 to 59.
MillisecondsSpecifies a value from 0 to 999.
WeekdaySpecifies a value from 0 to 6 (Sunday to Saturday).
This structure is documented in Windows Driver Kit.
TIME_FIELDS structure is NTDLL version of Win 32 API SYSTEM_TIME. It contains detailed information about date and time.
Year, in range 1601 - 65535.
Month, in range 1 - 12.
Day, in range 1 - 31, depending on Month member.
Hour, in range 0 - 23.
Minute, in range 0 - 59.
Second, in range 0 - 59.
Milliseconds, in range 0 - 1000.
Day of week, in range 0 - 6, where 0 means "Sunday", 1 means "Monday" etc.