D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Time
/
Filename :
asctime-i.ri
back
Copy
U:RDoc::AnyMethod[iI"asctime:ETI"Time#asctime;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"0Returns a string representation of +self+, ;TI"6formatted by <tt>strftime('%a %b %e %T %Y')</tt> ;TI"7or its shorthand version <tt>strftime('%c')</tt>; ;TI"Jsee {Formats for Dates and Times}[rdoc-ref:strftime_formatting.rdoc]:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"1t = Time.new(2000, 12, 31, 23, 59, 59, 0.5) ;TI"Bt.ctime # => "Sun Dec 31 23:59:59 2000" ;TI"Bt.strftime('%a %b %e %T %Y') # => "Sun Dec 31 23:59:59 2000" ;TI"Bt.strftime('%c') # => "Sun Dec 31 23:59:59 2000" ;T:@format0o; ; [I"&Related: Time#to_s, Time#inspect:;T@o;; [I"Gt.inspect # => "2000-12-31 23:59:59.5 +000001" ;TI"Bt.to_s # => "2000-12-31 23:59:59 +0000";T; 0: @fileI"time.c;T:0@omit_headings_from_table_of_contents_below000[ I"();T@FI" Time;TcRDoc::NormalClass0[@"FI" ctime;T