I am currently looking for a software/web development job preferably as a Rails-based developer.
Please email me at firstname.lastname@example.org. Thanks in advance for any leads!
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 Time.now # Return Current Time in your Time Zone Time.zone.now
Related External Links: