I am in Albuquerque, NM. I am trying to update some stamps every time I put an entry into a database.
Here is what I use.
date_default_timezone_set("US/Mountain");
$stamp =mktime();
//$stamp = gmmktime();
$time = date("H:i:s",$stamp);$date = date("Y-m-d",$stamp);
My local time is 12:15 PM but what I get is 18:15PM instead.
If you can see what's going wrong please let me know.