class DateTime

Public Instance Methods

to_time() click to toggle source
# File lib/briar.rb, line 87
def to_time
  str = self.strftime('%z')
  Time.send(:make_time, year, mon, day, hour, min, 0, nil, str, nil)
end