You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Vernon A Webb <Ve...@net-nation.com> on 2002/01/25 02:26:40 UTC

OT- PHP Format Recordset Date Field

I want to format a record that contains a date formatted as 
2002-01-24 but I want to convert it to 01-24-2002. I've 
tried this but it gives me some date in Dec 31, 1969!

<?
php echo DoDateTime($Recordset1->Fields("u_date"), 'd-m-Y')
?>

Anyone ideas?



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org