I am going crazy on how to format a simple date. I have this in my MySQL
table. "2005-03-10 08:44:21" and I want it to format out like "3/10/2005" or
"03/10/05" but I seem to be going at it the wrong way. Here what I have but
wow I get a wrong date.
$cdate = date("r",$cdate );
Please help!! I appreciate any help you can give.
Rick
table. "2005-03-10 08:44:21" and I want it to format out like "3/10/2005" or
"03/10/05" but I seem to be going at it the wrong way. Here what I have but
wow I get a wrong date.
$cdate = date("r",$cdate );
Please help!! I appreciate any help you can give.
Rick
Comment