I have a time in my database (variable $stime) saved as 11:54:00
echo "$stime<BR>";
$newtime = date('g:i A',$stime);
echo "$newtime<BR>";
echo "$stime<BR>";
I get:
11:54:00 (acutal time from database)
7:00 PM (variable $newtime)
If i use mktime; Time all the time changes...
Could some one help me convert that
to 11:54 AM
Thanks