Posted by C. on 12/15/05 14:56
The Pear package is not exactly well documented.
These all seem to rely on Unix timestamps - which are only cover a
relatively small interval (32 bits 1970 - 2038 IIRC).
Since most the stuff I write is talking to a DBMS anyway I usually use
the MySQL date manipulation functions. These include a datediff()
function.
HTH
C.
[Back to original message]
|