SYSTEMTIME stemTime;
GetSystemTime(&SystemTime); //取格林威治時間
GetLocalTime(&SystemTime); //取本地時間
GetSystemTime(&SystemTime); //取格林威治時間
GetLocalTime(&SystemTime); //取本地時間
typedef struct _SYSTEMTIME
{
WORD wYear;
WORD wMonth;
WORD wDayOfWeek;
WORD wDay;
WORD wHour;
WORD wMinute;
WORD wSecond;
WORD wMilliseconds;
} SYSTEMTIME;
留言
張貼留言