Sam Carleton wrote:
On Sun, Mar 23, 2008 at 8:24 PM, Joe Lewis <[EMAIL PROTECTED]> wrote:
What I found is that there is an apr_time_ansi_put converts a time_t to
an apr_time_t, but the only thing that may convert the apr_time_t into
the number of seconds since Jan 1st 1970 is apr_time_sec(apr_time_t) .
Thank you. I actually do want the Unix timestamp format. (Which is
the Jan 1st 1970, isn't it?) In the PHP code, it looks at dates based
on the unix timestamp format to determine which is the latest and then
converts it to a string.
Joe is correct; that's the function you wanted. The apr epoch matches the
unix epoch, only with a higher microsecond resolution.