-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 05 July 2004 06:07 pm, Gary Mack wrote: > Hi there, > > I am having trouble converting a timestamp from mySQL to the US Format > mm/dd/yyyy. Can someone please help. I am also having trouble converting > yyyy-mm-dd into a normal mm/dd/yyyy format as well. > > I am using the following line of code: > > date('m/d/Y', $row10['modified']); > > $row10['modified'] is the timestamp from the mySQL database I want to > convert from. Thanks in advance.
http://dev.mysql.com/doc/mysql/en/Date_and_time_functions.html - -- ======================================================================= Jabber: tradergt@(smelser.org|jabber.org) Quote: Give a man a fish and he will eat for a day. Teach him to fish and he'll sit in a boat and drink beer all day. ======================================================================= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA6d/8ld4MRA3gEwYRApXAAJ4oqjY6uGH/3ow7nO8VXcfpu1SQHwCfXKJS BlS+89WOMdEGD7DMBROj+XU= =7vN6 -----END PGP SIGNATURE----- -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]