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 Law wrote:
> On 24 March 2010 10:39, Tushar Gandhi <li...@ruby-forum.com> 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

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to