method

second_fraction

v2_6_3 - Show latest stable - Class: DateTime
second_fraction()
public

Returns the fractional part of the second.

DateTime.new(2001,2,3,4,5,6.5).sec_fraction       #=> (1/2)