Re: [PHP-DB] win32 Timestamp problem

2004-03-10 Thread John Lim
Hi, See http://php.weblogs.com/adodb_date_time_library I wrote this to fix this problem. INTRODUCTION PHP native date functions use integer timestamps for computations. Because of this, dates are restricted to the years 1901-2038 on Unix and 1970-2038 on Windows due to integer overflow for date

Re: [PHP-DB] win32 Timestamp problem

2004-03-10 Thread IMAC, Sebastian Mangelkramer
Will this fit you needs? Am Mittwoch, 10. März 2004 12:31 schrieb Ford, Mike [LSS]: > On 09 March 2004 20:36, J. Kevin C. Burton wrote: > > Hey all, after reading documentation on the Win32 bug > > regarding Timestamps > > not being able to go prior than 1970.. > > > > I am in need of a way t

RE: [PHP-DB] win32 Timestamp problem

2004-03-10 Thread Ford, Mike [LSS]
On 09 March 2004 20:36, J. Kevin C. Burton wrote: > Hey all, after reading documentation on the Win32 bug > regarding Timestamps > not being able to go prior than 1970.. > > I am in need of a way to calculate someone's age. > > Has anyone found a fix or workaround for this bug? Or a way > to cal

Re: [PHP-DB] win32 Timestamp problem

2004-03-10 Thread Jason Wong
On Wednesday 10 March 2004 04:36, J. Kevin C. Burton wrote: > Hey all, after reading documentation on the Win32 bug regarding Timestamps > not being able to go prior than 1970.. > > I am in need of a way to calculate someone's age. > > > Has anyone found a fix or workaround for this bug? Or a way t

Re: [PHP-DB] win32 Timestamp problem

2004-03-09 Thread Marcjon Louwersheimer
Not sure if this'll help you, but I like to store my dates/times using this format: date("Y-m-d H:i:s") It's always a 19 character string, so you could use the substr function to get different parts of the date. substr(date("Y-m-d H:i:s"),0,4) would get the year, for example. Hope this helps. --