HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/gems/ruby-3.0.2/doc/activesupport-6.1.4.1/ri/String/to_time-i.ri
U:RDoc::AnyMethod[iI"to_time:ETI"String#to_time;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph;	[I"(Converts a string to a Time value. ;TI">The +form+ can be either :utc or :local (default :local).;To:RDoc::Markup::BlankLineo;
;	[	I"1The time is parsed using Time.parse method. ;TI"CIf +form+ is :local, then the time is in the system timezone. ;TI"FIf the date part is missing then the current date is used and if ;TI"@the time part is missing then it is assumed to be 00:00:00.;T@o:RDoc::Markup::Verbatim;	[I"G"13-12-2012".to_time               # => 2012-12-13 00:00:00 +0100
;TI"G"06:12".to_time                    # => 2012-12-13 06:12:00 +0100
;TI"G"2012-12-13 06:12".to_time         # => 2012-12-13 06:12:00 +0100
;TI"G"2012-12-13T06:12".to_time         # => 2012-12-13 06:12:00 +0100
;TI"E"2012-12-13T06:12".to_time(:utc)   # => 2012-12-13 06:12:00 UTC
;TI"R"12/13/2012".to_time               # => ArgumentError: argument out of range
;TI"Q"1604326192".to_time               # => ArgumentError: argument out of range;T:@format0:
@fileI"6lib/active_support/core_ext/string/conversions.rb;T:0@omit_headings_from_table_of_contents_below000[I"(form = :local);T@FI"String;TcRDoc::NormalClass00