Date format error in CList
| From: | PQ Administrator | Date: | Wed, 24 Oct 2001 04:12:17 +0000 |
| Subject: | Date format error in CList | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-411@lists.php.net to get a copy of this message | ||
Im trying to format date as Y-m-d in a Clist, date_format didnt work with sql so I do my query and
then *try* to fix the date as follows:
$bdate= $row["mynewdate"];
$return[] .= date("Y m d", $bdate);
It returns all dates as: 1969-12-31
Any ideas??
TIA
Troy McComas
Networks/System Admin. & Developer
PhysicianQuest.com
admin@physicianquest.com
Office - (818)550-8777 or (626)282-0288
Cell- (626)255-9833
<!-- -->
Powered by PhysicianQuest.com