Saturday, July 14, 2012

How To Adjust Php Time


Question by michaelnaeseth: How to adjust PHP time for timezones?
I have a script that stores user-entered info into a database. When the database entry is added, Im using php date("g:i A"); to display the time of the database entry. However, when this time is entered, it comes up one hour ahead of my time. How do I correct this?


Best answer:

Answer by



Give your answer to this question below!


Fb Lead Gen: Email Subscribers With A Single Facebook Button
Fbleadgen Is A PHP Script That Allows You To Replace The Email Opt-in Forms On Your Website With A Single Facebook Connect Button. When You Get A Subscriber, Your Aweber/mailchimp Subscription Lists Are Automatically Updated In Real-time!
Fb Lead Gen: Email Subscribers With A Single Facebook Button


Learn PHP Development The Easy Way!
How A 26-year-old Computer Nerd "cracked The Code" On PHP Development And Promises He Can Teach Anyone How To Make Powerful Websites...in Just 14 Days...guaranteed!
Learn PHP Development The Easy Way!



| Rubber Mat Flooring | Why Artificial Grass Is Great For Play Areas | The Truth About Futon MattressesConventional And Modern Futon Couch And | VAN FLOORING RUBBER | Carpet cleaning service 1Ways To Hire A Good Gutter Cleaning | gym mats, gym matting | Details On The way a massage can make a difference | tin-ceiling-tiles88 | All Modern Technology Behind stablemats-uk.co.uk

No comments:

Post a Comment