We help IT Professionals succeed at work.

Date time -1 hour

OSLAdmin
OSLAdmin asked
on
271 Views
Last Modified: 2006-11-17
hi i currently use:

$datelogged = date("Y-m-d H:i:s");
 
to produce the mysql date time format of 0000-00-00 00:00:00

the problem is that my server is abroad and is an hour fast. is there a way to either - 1 hour or to generate GMT times?

cheers

neil
Comment
Watch Question

Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Commented:
I have had big problems with GMT time, so i dont use it anymore.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.