parent
e6b1ce6958
commit
5b8c35be77
@ -0,0 +1,14 @@ |
|||||||
|
#include <windows.h> |
||||||
|
#include <wchar.h> |
||||||
|
|
||||||
|
int wmain(void) { |
||||||
|
|
||||||
|
SYSTEMTIME st = {0}; |
||||||
|
|
||||||
|
GetSystemTime(&st); |
||||||
|
|
||||||
|
wprintf(L"The system time is: %02d:%02d:%02d\n",
|
||||||
|
st.wHour, st.wMinute, st.wSecond); |
||||||
|
|
||||||
|
return 0; |
||||||
|
} |
Loading…
Reference in new issue