I used strftime but it return local time instead. Look thru books and tried strtotime, and its working, but only to a date.
date("h:i A", $time) - is not working.
Can you actually tell me why??
My syntax:
$sdate = strtotime(odbc_result($exec,3));
$stime = strtotime(odbc_result($exec,4));
$etime = strtotime(odbc_result($exec,5));
echo date("d M Y",$sdate); {working}
echo date("H:i A",$stime); {not working}
echo date("H:i A",$etime); {not working}
Thanks again.
GK