# Store created\_at in Hawaii's time zone UTC-10

**URL:** <https://www.ruby-forum.com/t/store-created-at-in-hawaiis-time-zone-utc-10/185665>\
**Category:** Rails\
**Created:** [March 24, 2010, 11:39am UTC](https://www.ruby-forum.com/t/store-created-at-in-hawaiis-time-zone-utc-10/185665 "2010-03-24T11:39:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gandhi-tush](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/5daacb/32.png) [@gandhi-tush](https://www.ruby-forum.com/u/gandhi-tush)\
**Post date:** [March 24, 2010, 11:39am UTC](https://www.ruby-forum.com/t/store-created-at-in-hawaiis-time-zone-utc-10/185665/1 "2010-03-24T11:39:23Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![gandhi-tush](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/5daacb/32.png) [@gandhi-tush](https://www.ruby-forum.com/u/gandhi-tush)\
**Post date:** [March 24, 2010, 11:45am UTC](https://www.ruby-forum.com/t/store-created-at-in-hawaiis-time-zone-utc-10/185665/2 "2010-03-24T11:45:56Z")

</div>

On 24 March 2010 10:39, Tushar G. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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

---

<div class="post-metadata">

**Author:** ![gandhi-tush](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/5daacb/32.png) [@gandhi-tush](https://www.ruby-forum.com/u/gandhi-tush)\
**Post date:** [March 25, 2010, 9:44am UTC](https://www.ruby-forum.com/t/store-created-at-in-hawaiis-time-zone-utc-10/185665/3 "2010-03-25T09:44:05Z")

</div>

On 25 March 2010 03:30, Tushar G. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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

> **[Mad Mimi Email Marketing](https://madmimi.com)**
>
> Mad Mimi makes it simple to send HTML email newsletters, grow your subscribers and manage your email list. Sign up today!

Colin

---

<div class="post-metadata">

**Author:** ![gandhi-tush](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/5daacb/32.png) [@gandhi-tush](https://www.ruby-forum.com/u/gandhi-tush)\
**Post date:** [March 25, 2010, 4:30am UTC](https://www.ruby-forum.com/t/store-created-at-in-hawaiis-time-zone-utc-10/185665/4 "2010-03-25T04:30:31Z")

</div>

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. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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
