Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/ri/system/DateTime/strptime-c.ri
Arrière
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
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0.61 |
proxy
|
phpinfo
|
Réglages