to_time() Instance Public methods Return an instance of Time in the system timezone.
to_s(format = :default) Instance Public methods :db format outputs time in UTC; all others output time in local. Uses TimeWithZone's strftime, so %Z and %z work correctly. to_formatted_s
to_r() Instance Public methods
to_i() Instance Public methods Also aliased as: tv_sec
to_formatted_s(format = :default) Instance Public methods Alias for: to_s
to_f() Instance Public methods
to_datetime() Instance Public methods
to_a() Instance Public methods
time() Instance Public methods Returns a Time or DateTime instance that represents the time in time_zone.
strftime(format) Instance Public methods Replaces %Z and %z directives with zone and formatted_offset, respectively, before passing to Time#strftime, so that zone information is correct
Page 123 of 2275