TIME_FIELDS structure (wdm.h)
Describes time information for time conversion routines.
Syntax
typedef struct _TIME_FIELDS {
CSHORT Year;
CSHORT Month;
CSHORT Day;
CSHORT Hour;
CSHORT Minute;
CSHORT Second;
CSHORT Milliseconds;
CSHORT Weekday;
} TIME_FIELDS;
Members
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).
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 2000. |
Header | wdm.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for