I'm using $today = date('m-d-y H:i'); to get and write to a file the date and time a user logs in. My host server is in US Central time zone - I am in Eastern. I need to increment the hour +1 How can I do that?
date('m-d-y H:i',strtotime("+1 Hour")); You may be able to change the time via htaccess which is a lot easier. You would put: SetEnv TZ America/Chicago In your htaccess file.
i would use something like $today = date('m-d-y H:i', time()+3600); PHP: if you´re not familiar with time you should checkout http://se.php.net/manual/en/function.time.php