D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Date
/
Filename :
_strptime-c.ri
back
Copy
U:RDoc::AnyMethod[iI"_strptime:ETI"Date::_strptime;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"3Returns a hash of values parsed from +string+ ;TI"%according to the given +format+:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"TDate._strptime('2001-02-03', '%Y-%m-%d') # => {:year=>2001, :mon=>2, :mday=>3} ;T:@format0o; ; [I"For other formats, see ;TI"G{Formats for Dates and Times}[rdoc-ref:strftime_formatting.rdoc]. ;TI">(Unlike Date.strftime, does not support flags and width.);T@o; ; [I"SSee also {strptime(3)}[https://man7.org/linux/man-pages/man3/strptime.3.html].;T@o; ; [I"5Related: Date.strptime (returns a \Date object).;T: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"3Date._strptime(string, format = '%F') -> hash ;T0[ I"(*args);T@FI" Date;TcRDoc::NormalClass00