Date Ruby

require 'date'
eastern = DateTime.now
eastern.to_s
pacific_offset = Rational(-7, 24)
pacific = eastern.new_offset(pacific_offset)
pacific.to_s