[Apache]

Package Name: Apache date-time handling functions

Global Functions

(apr_status_t);
convert a recent time to its human readable components in local timezone @note This is a faster alternative to apr_explode_localtime that uses a cache of pre-exploded time structures. It is useful for things that need to explode the current time multiple times per second, like loggers.

Parameters
tmthe exploded time
tthe time to explode: MUST be within the last AP_TIME_RECENT_THRESHOLD seconds
Return Value
APR_SUCCESS iff successful

(apr_status_t);
convert a recent time to its human readable components in GMT timezone @note This is a faster alternative to apr_time_exp_gmt that uses a cache of pre-exploded time structures. It is useful for things that need to explode the current time multiple times per second, like loggers.

Parameters
tmthe exploded time
tthe time to explode: MUST be within the last AP_TIME_RECENT_THRESHOLD seconds
Return Value
APR_SUCCESS iff successful

(apr_status_t);
format a recent timestamp in the ctime() format.

Parameters
date_strString to write to.
tthe time to convert
(apr_status_t);
format a recent timestamp in the RFC822 format

Parameters
date_strString to write to (must have length >= APR_RFC822_DATE_LEN)
tthe time to convert

© 2000 [Apache Software Foundation]
Generated by ScanDoc 0.14
Last Updated: Fri Apr 14 12:43:20 2006