Hi,
I have to use Hawaii’s time zone which is UTC-10 for my created_at.
Can anyone tell me how can I solve this problem?
Thanks,
Tushar
On 24 March 2010 10:39, Tushar G. [email protected] wrote:
Hi,
I have to use Hawaii’s time zone which is UTC-10 for my created_at.
Can anyone tell me how can I solve this problem?
Times should generally always be stored in UTC, then there is no
confusion about the time. Display it in the local timezone when
display is required.
Colin
On 25 March 2010 03:30, Tushar G. [email protected] wrote:
Yes, I agreed. But still I need to store the date in Hawai timezone.
How can I set the time zone for Time.now?
That is not the same question. google for rails time zone will
provide useful links such as
Colin
Yes, I agreed. But still I need to store the date in Hawai timezone.
How can I set the time zone for Time.now?
Thanks,
Tushar
Colin L. wrote:
On 24 March 2010 10:39, Tushar G. [email protected] wrote:
Hi,
I have to use �Hawaii’s time zone which is UTC-10 for my created_at.
Can anyone tell me how can I solve this problem?Times should generally always be stored in UTC, then there is no
confusion about the time. Display it in the local timezone when
display is required.Colin