[FONT="Comic Sans MS"] Hi all, I have problem in the code and i don't know where is the wrong in the code .. I want to display the date authomatically in the page and i use this code ..
$time = '+32400|Abu Dhabi, Baku, Kabul, Tehran, Tbilisi, Volgograd GMT+4|'; $datetime = strtotime($originaldatetime) + $time; $datetime = date('M d, Y h:i A', $datetime); echo $datetime;
it give me this result !!
Jan 01, 1970 01:00 PM
I want to be the date of today not before !! Can anyone help me, please ?!![/FONT]
date_default_timezone_set('Asia/Tbilisi'); echo date('M d, Y h:i A');
Thank alot for helping ..
I try it know, it is work
thanks