method

to_time

v1_9_2_180 - Show latest stable - Class: DateTime
to_time()
public

No documentation available.

# File lib/date.rb, line 1831
  def to_time
    d = new_offset(0)
    d.instance_eval do
      Time.utc(year, mon, mday, hour, min, sec +
               sec_fraction)
    end.
        getlocal
  end