Time.local and Time.gm
require 'date' puts Time.local(1999, 12, 31, 23, 21, 5, 1044) puts Time.gm(1999, 12, 31, 23, 21, 5, 22, 1044) puts Time.local(1991, 10, 1) puts Time.gm(2000)