c/chrono/wcsftime

Converts the date and time information from a given calendar time to a null-terminated wide character string  according to format string. Up to bytes are written.

Return value
number of wide characters written into the wide character array pointed to by not including the terminating  on success. If was reached before the entire string could be stored,  is returned and the contents are undefined.