#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 GitHub
No description available.
Describes time information for time conversion routines.
Year
Specifies a value from 1601 on.
Month
Specifies a value from 1 to 12.
Day
Specifies a value from 1 to 31.
Hour
Specifies a value from 0 to 23.
Minute
Specifies a value from 0 to 59.
Second
Specifies a value from 0 to 59.
Milliseconds
Specifies a value from 0 to 999.
Weekday
Specifies 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.