| Server IP : 162.214.74.102 / Your IP : 216.73.217.21 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/DateTime/ |
Upload File : |
U:RDoc::AnyMethod[iI"
strptime:ETI"DateTime::strptime;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"EParses the given representation of date and time with the given ;TI"Itemplate, and creates a DateTime object. strptime does not support ;TI"6specification of flags and width unlike strftime.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"KDateTime.strptime('2001-02-03T04:05:06+07:00', '%Y-%m-%dT%H:%M:%S%z')
;TI"N #=> #<DateTime: 2001-02-03T04:05:06+07:00 ...>
;TI"IDateTime.strptime('03-02-2001 04:05:06 PM', '%d-%m-%Y %I:%M:%S %p')
;TI"N #=> #<DateTime: 2001-02-03T16:05:06+00:00 ...>
;TI"LDateTime.strptime('2001-W05-6T04:05:06+07:00', '%G-W%V-%uT%H:%M:%S%z')
;TI"N #=> #<DateTime: 2001-02-03T04:05:06+07:00 ...>
;TI"HDateTime.strptime('2001 04 6 04 05 06 +7', '%Y %U %w %H %M %S %z')
;TI"N #=> #<DateTime: 2001-02-03T04:05:06+07:00 ...>
;TI"HDateTime.strptime('2001 05 6 04 05 06 +7', '%Y %W %u %H %M %S %z')
;TI"N #=> #<DateTime: 2001-02-03T04:05:06+07:00 ...>
;TI"#DateTime.strptime('-1', '%s')
;TI"N #=> #<DateTime: 1969-12-31T23:59:59+00:00 ...>
;TI"&DateTime.strptime('-1000', '%Q')
;TI"N #=> #<DateTime: 1969-12-31T23:59:59+00:00 ...>
;TI";DateTime.strptime('sat3feb014pm+7', '%a%d%b%y%H%p%z')
;TI"N #=> #<DateTime: 2001-02-03T16:00:00+07:00 ...>
;T:@format0o;
; [I"(See also strptime(3) and #strftime.;T:
@fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"uDateTime.strptime([string='-4712-01-01T00:00:00+00:00'[, format='%FT%T%z'[ ,start=Date::ITALY]]]) -> datetime
;T0[ I" (p1 = v1, p2 = v2, p3 = v3);T@&FI"
DateTime;TcRDoc::NormalClass00