I am having some trouble getting my date to display correctly. In my database I have the date field defined as a timestamp and it shows: 20021025152822.
When I pull the date out with no formatting I get 20021025152822.
However, when I format the date as
$mydatetime = date("d-m-Y h:i:s A",$myrow["orderdate"]);
I get the following output: 18-01-2038 08:14:07 PM
HELP!
Thanks!