In a PHP site, I have the current time setting:
D j M Y, G:ia
How do I change that to reflect current pacific time with the daylight saving time?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use
date_default_timezone_setto set the timezone in which all date functions are run. PHP date functions take care of daylight saving time (DST) for you if you just want the current time.