How to adjust PHP time for timezones?

michaelnaeseth

New member
I have a script that stores user-entered info into a database. When the database entry is added, Im using php date("g:i A"); to display the time of the database entry. However, when this time is entered, it comes up one hour ahead of my time. How do I correct this?
 
Back
Top