How To Get Current Time In The System's Time Zone In Rails

Posted by Weston Ganger

Its useful to get the current time in the correct time zone instead of UTC.

To do this in Rails.

# Return Current Time in UTC

# Return Current Time in your Time Zone

Related External Links:

Article Topic:Software Development - Rails

Date:June 13, 2015

Recommended Posts



Send Me A Message

I would love to get in touch and talk about your next project. Feel free to send a message and I will get back to you shortly.

Get Connected