I need to output a date and time that shows more clearly than just outputting the timestamp
what is the correct way to go about it ? I have looked at getdate(), but I haven't fathomed it out yet !
-- www.phpexpert.org/truefaith.htm "True Faith is not just when you believe in God and yourself, it is when others begin to believe in you as well" - Damian John Paul Brown 2004
It is from an MySQL database with the field types DATETIME, DATE or TIME? When you can use the mysql function DATE_FORMAT()
Example: SELECT *,DATE_FORMAT(mydate,'%d.%m.%y - %H:%i') AS mydate FROM foo (mydate is the name of the column)
Rainer
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php