Link to home
Start Free TrialLog in
Avatar of OSLAdmin
OSLAdmin

asked on

Date time -1 hour

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
ASKER CERTIFIED SOLUTION
Avatar of waygood
waygood

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of waygood
waygood

I have had big problems with GMT time, so i dont use it anymore.