need eastern timestamp for php - getting pacific

Asked by:
finnerty / 5 Points
Time:
2012-09-01 9:59 pm EST
Category:
Databases
Hits:
702
using PHP date function - can I change the default for my account - is it in PHP.ini

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

ScottM
Staff
16,266 Points
2012-09-04 4:09 pm EST
Hello finnerty,

Yes, you can change your timezone setting in the php.ini to any setting you like. Php.ini is there so you can make changes like this to your account without affecting other accounts on the server.

To set your timezone to US East Coast time, simply change the line:

date.timezone="America/Los_Angeles"

to

date.timezone="America/New_York"

This will alter the default timezone for your account. This line is located at the bottom of your php.ini.

Best Regards,
Scott M

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}