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.
|
#include <windows.h>
|
|
#include <wchar.h>
|
|
|
|
int wmain(void) {
|
|
|
|
SYSTEMTIME st = {0};
|
|
|
|
wchar_t *dn[] = { L"Sunday", L"Monday", L"Tuesday",
|
|
L"Wednesday", L"Thursday", L"Friday", L"Saturday" };
|
|
|
|
GetLocalTime(&st);
|
|
wprintf(L"Today is %ls\n", dn[st.wDayOfWeek]);
|
|
|
|
return 0;
|
|
}
|
|
|