subsec()
Returns the fraction of a second as a Rational
DateTime.new(2012, 8, 29, 0, 0, 0.5).subsec # => (1/2)
# File activesupport/lib/active_support/core_ext/date_time/calculations.rb, line 36 def subsec sec_fraction end