httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "RuneImp" <>
Subject Re: OT- PHP Format Recordset Date Field
Date Fri, 25 Jan 2002 02:02:43 GMT
Is this PHP3 or something? In the PHP4 Manual I couldn't
find DoDateTime at all? But this works for me

echo date("m-d-Y")

-=- RuneImp
ImpTech - Web Design, Hosting & Computer Tech

----- Original Message ----- 
From: "Vernon A Webb" <>
To: "Apache" <>
Sent: Thursday, January 24, 2002 5:26 PM
Subject: 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:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message