RE: [PHP-DB] Date problem: data is current as of yesterday

2004-07-03 Thread Ford, Mike [LSS]
-Original Message- From: Karen Resplendo To: [EMAIL PROTECTED] Sent: 02/07/04 19:36 Subject: [PHP-DB] Date problem: data is current as of yesterday The database queries all the sources at night after everyone has gone home. That means the data was current as of yesterday. This little snipp

Re: [PHP-DB] Date problem: data is current as of yesterday

2004-07-02 Thread jeffrey_n_Dyke
accidentally replied only to karen. > The database queries all the sources at night after everyone has gone home. That means the data was current as of yesterday. This little snippet below returns yesterday's date, except that the first day of the month returns "0" for > the day. Now, I know why

RE: [PHP-DB] Date problem: data is current as of yesterday

2004-07-02 Thread Neal Carmine
Use strtotime() instead.. http://us2.php.net/manual/en/function.strtotime.php Regards, Neal Carmine Nine Systems Corporation -Original Message- From: Karen Resplendo [mailto:[EMAIL PROTECTED] Sent: Friday, July 02, 2004 12:36 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Date problem: dat