Re: [PHP-DB] Something wierd with time() and curdate()

2004-11-01 Thread Bobo Wieland
To: <[EMAIL PROTECTED]> Sent: Monday, November 01, 2004 11:14 AM Subject: Re: [PHP-DB] Something wierd with time() and curdate() On Sunday 31 October 2004 22:45, Bobo Wieland wrote: There is something wierd going on over here... I have a date field, datum, in mysql that I cast to a timestamp an

Re: [PHP-DB] Something wierd with time() and curdate()

2004-10-31 Thread Jason Wong
On Sunday 31 October 2004 22:45, Bobo Wieland wrote: > There is something wierd going on over here... > > I have a date field, datum, in mysql that I cast to a timestamp and check > against time(). If the datum value is more than one day old the table finds > a new random row and sets the datum fie

[PHP-DB] Something wierd with time() and curdate()

2004-10-31 Thread Bobo Wieland
There is something wierd going on over here... I have a date field, datum, in mysql that I cast to a timestamp and check against time(). If the datum value is more than one day old the table finds a new random row and sets the datum field to CURDATE(). Now, this has worked for two years now, but