I want to print out the date in mm-dd-yyyy and the time in hh:mm:ss format. The problem is i'm located on the east coast and my server is on the west coast. how can i add the three hour time & date difference.
Can someone write me the code to do this.. thanks!
there is a good column about this one on this site :
http://www.phpbuilder.com/columns/akent20000610.php3
$eastcoasttime = mktime(date("H") + 3, date("i"), date("s"), date("m"), date("d"), date("Y")); print DATE("Y-m-d g:i s", $eastcoasttime);