You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
227 B
15 lines
227 B
9 years ago
|
#include <windows.h>
|
||
|
#include <wchar.h>
|
||
|
|
||
|
int wmain(void) {
|
||
|
|
||
|
SYSTEMTIME lt = {0};
|
||
|
|
||
|
GetLocalTime(<);
|
||
|
|
||
|
wprintf(L"The local time is: %02d:%02d:%02d\n",
|
||
|
lt.wHour, lt.wMinute, lt.wSecond);
|
||
|
|
||
|
return 0;
|
||
|
}
|