In my project’s config/environments.rb I have set
Whenever a new recorded is added to my mysql database, the “created_at”
and “updated_at” fields are stored as UTC.However, on my console the
Time.now/DateTime.now is in my local timezone, namely IST.
=> Wed Nov 03 14:24:55 +0530 2010
=> Wed, 29 Sep 2010 17:50:12 UTC +00:00
How do I change my Time.now/DateTime.now timezone to UTC?