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!!!!
duneflyingyfz
0
Newbie Poster
Recommended Answers
Jump to PostSet the timezone for use by your PHP code.
date_default_timezone_set('EST');
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.