strftime
extern size_t strftime(char *buffer, size_t maxSize, const char *format,
strftime(tmp, 64, B_TRANSLATE("%a, %d %b %Y, %r"), localtime(&t));
strftime(tmp, 64, B_TRANSLATE("%a, %d %b %Y, %r"), localtime(&t));
(void) strftime( date_nozone, sizeof(date_nozone), cernfmt_nozone, t );
(void) strftime( nowbuf, sizeof(nowbuf), rfc1123fmt, gmtime( &now ) );
(void) strftime( modbuf, sizeof(modbuf), rfc1123fmt, gmtime( &mod ) );
(void) strftime(
size_t bytes = strftime(buf, sizeof(buf), "%FT%T", timep);
strftime(label, sizeof(label), "%F %X", &tm);
strftime(stringBuffer, sizeof(stringBuffer), "%c", &timeInfo);
strftime(modified, 30, "%m/%d/%Y %I:%M %p",
strftime(string, sizeof(string), "%Y-%m-%d %H:%M",
strftime(string, sizeof(string), "%Y-%m-%d %H:%M",
(void)strftime(db, sizeof(db), fmtstr, localtime(&t));
strftime(currentYear, 5, "%Y", localtime(&tp));
size_t length = strftime(date, sizeof(date),
strLength = strftime(expirationString, kTimetToStringMaxLength,
= strftime(expirationString, kTimetToStringMaxLength, formatString, &expirationTm);
strftime(buffer, sizeof(buffer), "%a", &tm_struct);
strftime(buffer, sizeof(buffer), "%b", &tm_struct);
strftime(buffer + pos, length - pos, "%b %d %Y, %I:%M:%S %p)", &timeData);
strftime(namebuf, 32, " - %b %d, %I:%M:%S %p", &timeData);
pos = strftime(header, sizeof(header), "%Y-%m-%d %H:%M:%S ", &when);
strftime(buffer, sizeof(buffer), "%X", localtime(&now));
strftime(buffer, sizeof(buffer),
strftime(buffer, sizeof(buffer),
strftime(buffer, sizeof(buffer),
strftime(buffer, sizeof(buffer),
strftime(buf, 100, data[i].format, testTime);
strftime (buffer, SIZE, "The time is %I:%M %p.\n", loctime);
strftime (buffer, SIZE, "%D %T was %w the %jth.\n", loctime);
else if (strftime(buf, sizeof(buf), "%a %b %d %X %Z %Y", tp) == 0)
strftime (buffer, SIZE, "Today is %A, %B %d.\n", loctime);
(void) strftime (daybuf, sizeof (daybuf), "%A", &time_str);