Image of Lucian Ghinda writing for notes.ghinda.com
September 28th, 2025

Timeless articles about working with Time and Timezones in Ruby and Ruby on Rails

Here are two resources that I think are important to read when you are working with Time in Ruby.

It's About Time (Zones)

This article is a perfect base for understanding working with Time and timezones in Ruby and Ruby on Rails. 

I think the core idea of the article is always keeping in mind in Rails there are 3 timezones:
Source: It's About Time (Zones) by Elle Meredith
Scheduling events in user time zone

For this there are two articles that you should read: 

I will add here the main idea that I extracted from both of them but you should make sure to read them as they present more ideas and options and specific recommendations when scheduling events in user timezone.

  1. For recurring events that must run at a user's specific local time (e.g., "every day at 9:00 AM"), one option is to calculate and persist the event's hour relative to UTC (hour_in_utc). Another option is to use a library that knows how to compute the next occuring event and not do the calculation yourself.
  2. When considering timezones, please remember that time zones are data that change over time (due to reasons that could be social or political so future DST/rules can change), and you'll need to make sure that you sync your Timezone data. 
From Scheduling things in user's time zone by Julik Tarkhanov