strftime c example Example: strftime c size_t strftime(char *str, size_t maxsize, const char *format, const struct tm *timeptr)