require 'date'
my_offset = DateTime.now.offset # => Rational(-5, 24) puts DateTime.civil(1999, 12, 31, 23, 21, Rational(51044, 100000), my_offset).to_s