WCSFTIME(3)

NAME
wcsftime, wcsftime_l - convert date and time to a wide-character string

LIBRARY
libc

SYNOPSIS
#include <wchar.h>
size_t
wcsftime(wchar_t * restrict wcs, size_t maxsize, const wchar_t * restrict format, const struct tm * restrict timeptr);
#include <xlocale.h>
size_t
wcsftime_l(wchar_t * restrict wcs, size_t maxsize, const wchar_t * restrict format, const struct tm * restrict timeptr, locale_t locale);

DESCRIPTION
The wcsftime() and wcsftime_l() functions are equivalent to the strftime() and strftime_l() functions except for the types of their arguments. Refer to strftime(3) for a detailed description.

The wcsftime_l() function takes an explicit locale argument, whereas the wcsftime() function uses the current global or per-thread locale.

COMPATIBILITY
Some early implementations of wcsftime() had a format argument with type const char * instead of const wchar_t *.

SEE ALSO
strftime(3), xlocale(3)

STANDARDS
The wcsftime() function conforms to isoC-99.