httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Stoddard" <stodd...@raleigh.ibm.com>
Subject Re: ap_current_time() is not intuitive
Date Thu, 06 Jan 2000 14:22:12 GMT
> Having both a FILETIME and storing a unixtime is IMHO a very bad idea.
> Because you will never know if somebody stored a value in the FILETIME
> when you go to retrieve the unixtime, you will always have to convert from
> FILETIME to unixtime
The canonical representation is FILETIME, so it should always be present.
The first time you request unixtime (or whatever we name it), you compute it
from FILETIME. Subsequent requests fetch what is already there. Same with
exploded time.

Bill


Mime
View raw message