Name

ap_ get_server_built — get the date and time Apache was built

Synopsis

const char *ap_ get_server_built(void)

Returns a string containing the date and time the server was built. Since this uses the C preprocessor _ _DATE_ _ and _ _TIME_ _ variables, the format is somewhat system dependent. If the preprocessor doesn’t support _ _DATE_ _ or _ _TIME_ _, the string is set to “unknown.”

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.