Method: DateTime#usec

Defined in:
activesupport/lib/active_support/core_ext/date_time/conversions.rb

#usecObject

Returns the fraction of a second as microseconds



89
90
91
# File 'activesupport/lib/active_support/core_ext/date_time/conversions.rb', line 89

def usec
  (sec_fraction * 1_000_000).to_i
end