mitcon
09-06-2005, 02:06 PM
I would like to display the date portion of a MySQL timestamp column. The format of this date-time field must not be recognized as a Unix date-time variable. I say this because the Date() function of PHP does not format the output correctly when doing something like:
date($row["create_date"], "d-M-Y")
where $row["create_date"] contains the results of the mysql_fetch_array() function.
Does anyone have any idea how to format the date portion of a timestamp field to be displayed as:
06-Sep-2005
Thanks in advance...
date($row["create_date"], "d-M-Y")
where $row["create_date"] contains the results of the mysql_fetch_array() function.
Does anyone have any idea how to format the date portion of a timestamp field to be displayed as:
06-Sep-2005
Thanks in advance...