need eastern timestamp for php - getting pacific

Asked by:
finnerty
Time:
2012-09-01 6:59 pm
Category:
Databases
Hits:
322
using PHP date function - can I change the default for my account - is it in PHP.ini

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

ScottM
2012-09-04 1:09 pm
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

You must login before you can post a comment about this answer.

Like this Question?

Support 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.