method
day_fraction
v2_6_3 -
Show latest stable
- Class:
Date
day_fraction()public
Returns the fractional part of the day.
DateTime.new(2001,2,3,12).day_fraction #=> (1/2)
day_fraction()Returns the fractional part of the day.
DateTime.new(2001,2,3,12).day_fraction #=> (1/2)