Problem displaying dates
| From: | George Pitcher | Date: | Tue, 19 Feb 2002 14:00:40 +0000 |
| Subject: | Problem displaying dates | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-17052@lists.php.net to get a copy of this message | ||
Hi all,
I've just moved my MySQL db and php scripts over from W2K to Linux and for
some reason my dates are coming across as '0000-00-00' even though, viewing
the db in MySQLFront, they look fine (actual dates).
When I hosted this on Win2K it worked fine.
I use a function to convert the date format from '0000-00-00' to
'dd/mm'yyyy' but have tried displaying the dates with and without the use of
this function with no success.
Any suggestions?
George in Edinburgh