ascftime
ascftime(timebuf, FORMAT, localtime(&t));
ascftime(timebuf, FORMAT,
extern int ascftime(char *, const char *, const struct tm *);
return (ascftime(buf, format, p));
ret = ascftime(buf, "%Y %m %d", &t);