instance method
usec
Ruby on Rails 8.0.4
Since v4.0.13Signature
usec()
Returns the fraction of a second as microseconds
Source
# File activesupport/lib/active_support/core_ext/date_time/conversions.rb, line 91
def usec
(sec_fraction * 1_000_000).to_i
end
Defined in activesupport/lib/active_support/core_ext/date_time/conversions.rb line 91
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in DateTime