Functions | |
void | http_datestring (char *buf, size_t n, time_t xtime) |
Supplied with a unix timestamp, generate a textual time/date stamp. |
void http_datestring | ( | char * | buf, | |
size_t | n, | |||
time_t | xtime | |||
) |
Supplied with a unix timestamp, generate a textual time/date stamp.
buf | the return buffer | |
n | the size of the buffer | |
xtime | the time to format as string |
Convert "seconds west of GMT" to "hours/minutes offset"
Definition at line 31 of file http_datestring.c.
References snprintf().
Referenced by output_headers().