Bonus Download: Want to have a copy of the steps in a pretty .pdf? Download the FREE presentation here.

Ruby Snack#47: Displaying Time considering Time Zone

GET FREE UPDATES OF NEW POSTS HERE

Overview

If you need to show the correct time in a time zone in a pretty fashion, strftime and in_time_zone become your new best friends. In this episode, we put together a simple test and make our view show the correct time.

Blog bio

Melissa Wahnish

Melissa is the Founder of RubyThursday and co-organizer of the Ruby Roundtable meetup. Signup for her weekly updates here.

Ruby snacks, tutorials, and freebies. Delivered weekly!

Thank you! Your submission has been received!

Oops! Something went wrong while submitting the form :(

Post Your Awesome Comments and Questions Below
(or just say hi! :)