Hi again: I have a problem. I insert in my DB the time when a user insert a row with time() function. In my country, don't change a hour yet, When i use format_date($message->fecha, 'custom', 'h:i A') show the hour but with hour + 1, ej: 2:20, and my hour yet is 1:20. thanks.
Time zones and daylight savings time. Nancy Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr. ________________________________ From: Damian Adriel Perez Valdes I have a problem. I insert in my DB the time when a user insert a row with time() function. In my country, don't change a hour yet, When i use format_date($message->fecha, 'custom', 'h:i A') show the hour but with hour + 1, ej: 2:20, and my hour yet is 1:20.
I am not very sure on this, but there might be some daylight saving settings. you can check on that On Wed, Mar 16, 2011 at 5:03 AM, Damian Adriel Perez Valdes < damian.adriel@gmail.com> wrote:
Hi again:
I have a problem. I insert in my DB the time when a user insert a row with time() function.
In my country, don't change a hour yet, When i use
format_date($message->fecha, 'custom', 'h:i A')
show the hour but with hour + 1, ej: 2:20, and my hour yet is 1:20.
thanks.
-- Regards, Vaibhav Jain
yes, but don't show the current hour, it's show -2, -1, in my country the hour change this saturday. On Tue, Mar 15, 2011 at 11:48 PM, Vaibhav Jain <in.vaibhavjain@gmail.com>wrote:
I am not very sure on this, but there might be some daylight saving settings. you can check on that
On Wed, Mar 16, 2011 at 5:03 AM, Damian Adriel Perez Valdes < damian.adriel@gmail.com> wrote:
Hi again:
I have a problem. I insert in my DB the time when a user insert a row with time() function.
In my country, don't change a hour yet, When i use
format_date($message->fecha, 'custom', 'h:i A')
show the hour but with hour + 1, ej: 2:20, and my hour yet is 1:20.
thanks.
-- Regards, Vaibhav Jain
-- *Damián Adriel Pérez Valdés* Programador de Sistemas
On Tuesday 15 March 2011, Damian Adriel Perez Valdes wrote:
Hi again:
I have a problem. I insert in my DB the time when a user insert a row with time() function.
In my country, don't change a hour yet, When i use
format_date($message->fecha, 'custom', 'h:i A')
show the hour but with hour + 1, ej: 2:20, and my hour yet is 1:20.
thanks.
Install the date module and set that up correctly You might also want to ensure that your Operating System knows what timezone it is in. -- ----------------- Bob Hutchinson Midwales dot com -----------------
participants (4)
-
Bob Hutchinson -
Damian Adriel Perez Valdes -
nan wich -
Vaibhav Jain