Saturday, July 3, 2010

Rails DateTime converting into your time zone

Quick and dirty way to get a time into your locale

DateTime.parse(some_other_time_string).in_time_zone(::Time.zone)

No comments:

Post a Comment