Page 1 of 1
Timezone
Posted: Thu Oct 18, 2012 9:52 pm
by Ghoz
Hi,
Something wrong with my timezone. Sometimes it works but at other times not (for example 'submitted 12 hours ago'). Please help.
Thanks!
Code: Select all
date_default_timezone_set('xxx/yyy');
Re: Timezone
Posted: Thu Oct 18, 2012 10:00 pm
by requinix
"xxx/yyy" is not a valid timezone. You need to change it to
something that is.
Re: Timezone
Posted: Sat Oct 20, 2012 3:20 am
by Ghoz
I put xxx & yyy because I don't want to show the location. I knew it is something like
Code: Select all
date_default_timezone_set('America/Mexico_City');
May be the problem is related to my server's time zone. How to choose which time zone to use?? I guest it is by my location, but sometimes it works but at other times not.
Re: Timezone
Posted: Mon Oct 22, 2012 3:52 am
by Ghoz
Any suggestion anyone??
Re: Timezone
Posted: Mon Oct 22, 2012 4:11 am
by requinix
So your question really is about how to choose your timezone?
Re: Timezone
Posted: Mon Oct 22, 2012 9:09 am
by Ghoz
Still waiting for a good answer, anyone??
Re: Timezone
Posted: Mon Oct 22, 2012 12:23 pm
by requinix
Ghoz wrote:Still waiting for a good answer, anyone??
Still waiting for a clarification what the question is, anyone??
Re: Timezone
Posted: Mon Oct 22, 2012 12:28 pm
by Benjamin
Ghoz, is the time correct in the database?