# timeZone issue

**URL:** <https://www.ruby-forum.com/t/timezone-issue/175399>\
**Category:** Rails\
**Created:** [September 12, 2009, 6:26pm UTC](https://www.ruby-forum.com/t/timezone-issue/175399 "2009-09-12T18:26:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fabien\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/6bbea6/32.png) [@Fabien\_P](https://www.ruby-forum.com/u/Fabien_P)\
**Post date:** [September 12, 2009, 6:26pm UTC](https://www.ruby-forum.com/t/timezone-issue/175399/1 "2009-09-12T18:26:33Z")

</div>

hi,

I’m trying to understand why I can not make time\_zone working. It  
always return the same date whatever time\_zone I configured :

> > Time.zone  
> > =\> #\<ActiveSupport::TimeZone:0x7fca81c99318 @utc\_offset=3600,  
> > @name=“Paris”, @tzinfo=nil\>
> 
> > User.first.silent\_mode\_at  
> > =\> Sat Jan 01 22:00:00 UTC 2000
> 
> > Time.zone=“Hawaii”  
> > =\> “Hawaii”
> 
> > User.first.silent\_mode\_at  
> > =\> Sat Jan 01 22:00:00 UTC 2000

Should’nt the time change after I setup the Time.zone properly ?

Thank you!

---

<div class="post-metadata">

**Author:** ![Fabien\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/6bbea6/32.png) [@Fabien\_P](https://www.ruby-forum.com/u/Fabien_P)\
**Post date:** [September 12, 2009, 6:37pm UTC](https://www.ruby-forum.com/t/timezone-issue/175399/2 "2009-09-12T18:37:40Z")

</div>

If like me you spend hours trying to figure out why timezone is not  
working at all, check if you have a :time column instead of a  
:datetime. !@%…

Sorry for the noise.
