Hi All!!! im currently at a roadblock in my knowledge of using mysql and php date/time functions. the program i am trying to write, needs to incoporate the current date in the mysql query to pull the correct information to display in real-time.. currently the server is on east coast time, and the program will be based on Arizona time... beyond changing the php.ini file for php what can i do client side to remedy this... thanks again for your ideas!!!!

Recommended Answers

All 3 Replies

Set the timezone for use by your PHP code.


Member Avatar


Used the code what blocblue mention.


Here is the manual for each state:


I hope this is what you are asking.

thankyou all thats exactly what i needed!! cant believe i overlooked this part in the php manual

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.