method
to_f
v6.1.3.1 -
Show latest stable
- Class:
DateTime
to_f()public
Converts self to a floating-point number of seconds, including fractional microseconds, since the Unix epoch.
to_f()Converts self to a floating-point number of seconds, including fractional microseconds, since the Unix epoch.