Name

ap_ gm_timestr_822 — format a time according to RFC 822

Synopsis

char *ap_ gm_timestr_822(pool *p, time_t t)

Formats the time as specified by RFC 822 (Standard for the Format of ARPA Internet Text Messages).[1] The time is always formatted as GMT. Returns a pointer to the string containing the time.

[1] Or, in other words, mail. Since HTTP has elements borrowed from MIME and MIME is for mail, you can see the connection.

Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.