Okay, I am really clutching at straws here, but.
Code: Select all
echo "Printed ",date("M d, Y")," at ",date("h:i a");
The above line prints a date that is correct but a time that is off by two hours from our local time here in fun-packed, downtown, metropolitan San Diego CA. The host assures me that the server is set to PST and has told me in a rather snotty tone to correct my script to "produce the correct time." I cannot see, however, what part of the above code is adding two hours to the time obtained from the server, as is claimed by the host.
Perhaps someone can:
a) tell me what part of the code is adding two hours
or
b) confirm that my host is full of it.
