I have a time stamp in my form results script, but the time stamp is ahead 1 hour. Can anyone tell how to adjust the time stamp to be accurate? or is this just on my pc?
Here is my current code:
$Body .= date("Y-m-d H:i A e");
I have a time stamp in my form results script, but the time stamp is ahead 1 hour. Can anyone tell how to adjust the time stamp to be accurate? or is this just on my pc?
Here is my current code:
$Body .= date("Y-m-d H:i A e");
You might want to check the timezone on your server. Most likely, the timezone is set 1 hour differently there than you are expecting.
You can set the timezone if you have access to the .htaccess file
SetEnv TZ "location"
location is the timezone you want to set.