Convert time and date to wide character strings.
#include <wchar.h> size_t wcsftime(wchar_t * str, size_t max_size, const wchar_t * format_str, const struct tm * timeptr); wchar_t * wctime(const time_t * timer);
These functions operate identically to their counterpart functions in stdio.h. But instead of operating on character strings, these functions operate on wide character strings.
| Function | Wide Character Equivalent |
|---|---|
| wcsftime() | csftime() |
| wctime() | ctime() |