ó : http://www.winapi.co.kr/ApiBoard/content.php?table=tblqa&pk=13249
 ýۿ ð  
GetLocalTime() Լ ϸ ˴ϴ.

  ϴ.

void GetLocalTime(SYSTEMTIME *lpSystemTime);

μ SYSTEMTIME ü ͸ Ѱָ Ǵµ,
 ü

wYear, wMonth, wDay, wHour, wMinute, wSecond   ֽϴ.

Լ ȣ , ̵   ð ° ˴ϴ.
ҽ ݸ ġ ٷ   ְڳ׿.

 Լ ü ϱ ؼ
#include <windows.h> α׷ ο ؾ մϴ.
ʿ ̺귯 kernel32.libε, Ϻη   ⺻ ̺귯
Ͽ ̹ ߰Ǿ Ƿ Ű澲 ŵ ˴ϴ.

 ڼ  SDK  MSDN Ͻñ ٶϴ.


/*
SYSTEMTIME

The SYSTEMTIME structure represents a date and time using individual members for the month, day, year, weekday, hour, minute, second, and millisecond.


typedef struct _SYSTEMTIME {  WORD wYear;  WORD wMonth;  WORD wDayOfWeek;  WORD wDay;  WORD wHour;  WORD wMinute;  WORD wSecond;  WORD wMilliseconds;
} SYSTEMTIME, *PSYSTEMTIME;
Members
wYear 
The year (1601 - 30827). 
wMonth 
The month. 

January = 1
February = 2
March = 3
April = 4
May = 5
June = 6
July = 7
August = 8
September = 9
October = 10
November = 11
December = 12


wDayOfWeek 
The day of the week. 

Sunday = 0
Monday = 1
Tuesday = 2
Wednesday = 3
Thursday = 4
Friday = 5
Saturday = 6


wDay 
The day of the month (1-31). 
wHour 
The hour (0-23). 
wMinute 
The minute (0-59). 
wSecond 
The second (0-59). 
wMilliseconds 
The millisecond (0-999). 

*/
