5 main (int argc, char *argv[])
16 n = wcsftime (buf, sizeof (buf) / sizeof (buf[0]),
17 L"%H:%M:%S %Y-%m-%d\n", tp);
21 wprintf (L"It is now %ls", buf);
23 wcsftime (buf, sizeof (buf) / sizeof (buf[0]), L"%A\n", tp);
25 wprintf (L"The weekday is %ls", buf);