method
sec_fraction
v1_9_3_125 -
Show latest stable
- Class:
Date
sec_fraction()private
Returns the fractional part of the second.
For example:
DateTime.new(2001,2,3,4,5,6.5).sec_fraction #=> (1/2)
sec_fraction()Returns the fractional part of the second.
For example:
DateTime.new(2001,2,3,4,5,6.5).sec_fraction #=> (1/2)