61//Specifies a date and time, using individual members for the month, day, year, weekday, hour, minute, second, and class ::time.The time is either in coordinated universal time(UTC) or local time, depending on the function that is being called.
62//
63//Syntax
64//C++
65//
66//Copy
67//typedef struct _SYSTEMTIME {
68// WORD wYear;
69// WORD wMonth;
70// WORD wDayOfWeek;
71// WORD wDay;
72// WORD wHour;
73// WORD wMinute;
74// WORD wSecond;
75// WORD wMilliseconds;
76//} SYSTEMTIME, * PSYSTEMTIME, * LPSYSTEMTIME;
77//Members
78//wYear
79//
80//The year.The valid values for this member are 1601 through 30827.
81//
82//wMonth
83//
84//The month.This member can be one of the following values.
85//
86//MEMBERS
87//Value Meaning
88//1
89//January
90//2
91//February
92//3
93//March
94//4
95//April
96//5
97//May
98//6
99//June
100//7
101//July
102//8
103//August
104//9
105//September
106//10
107//October
108//11
109//November
110//12
111//December
112//wDayOfWeek
113//
114//The day of the week.This member can be one of the following values.
115//
116//TABLE 2
117//Value Meaning
118//0
119//Sunday
120//1
121//Monday
122//2
123//Tuesday
124//3
125//Wednesday
126//4
127//Thursday
128//5
129//Friday
130//6
131//Saturday
132//wDay
133//
134//The day of the month.The valid values for this member are 1 through 31.
135//
136//wHour
137//
138//The hour.The valid values for this member are 0 through 23.
139//
140//wMinute
141//
142//The minute.The valid values for this member are 0 through 59.
143//
144//wSecond
145//
146//The second.The valid values for this member are 0 through 59.
147//
148//wMilliseconds
149//
150//The class ::time.The valid values for this member are 0 through 999.
151//
152//Remarks
153//Note
154//
155//The SYSTEMTIME does not check to see if the date represented is a real and valid date.When working with this API, you should ensure its validity, especially in leap year scenarios.See leap day readiness for more information.
156//
157//It is not recommended that you add and subtract values from the SYSTEMTIME structure to obtain relative times.Instead, you should
158//
159//Convert the SYSTEMTIME structure to a FILETIME structure.
160//Copy the resulting FILETIME structure to a ULARGE_INTEGER structure.
161//Use normal 64 - bit arithmetic on the ULARGE_INTEGER value.
162//The system can periodically refresh the time by synchronizing with a time source.Because the system time can be adjusted either forward or backward, do not compare system time readings to determine elapsed time.Instead, use one of the methods described in Windows Time.