Here is an example of me using it successfully
date_format(from_unixtime(timestamp), \"%m/%d/%Y\")
Well the from_unixtime might help you, as well as escaping those quotes your
using.
Hi
Does anyone know how to format dates output from Mysql? for example
I am using the following line:
....
$query .= "DATE_FORMAT(Updated, "%m%/%d%/%y %r") as nice_updated,";
....
with the aim of formatting the date to look as follows: 02/02/00 11:48
PM
but I get a parse error. I am using PHP3. Does anyone have a clue as to
what I may be doing wrong?
thanks,
-L
To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail java...@lists.mysql.com instead.