X7ROOT File Manager
Current Path:
/opt/alt/ruby18/share/ri/1.8/system/Time
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Time
/
📄
%2b-i.yaml
(495 B)
📄
%2d-i.yaml
(671 B)
📄
%3c%3d%3e-i.yaml
(693 B)
ðŸ“
..
📄
_dump-i.yaml
(258 B)
📄
_load-c.yaml
(270 B)
📄
apply_offset-c.yaml
(212 B)
📄
asctime-i.yaml
(421 B)
📄
at-c.yaml
(721 B)
📄
cdesc-Time.yaml
(5.32 KB)
📄
ctime-i.yaml
(417 B)
📄
day-i.yaml
(446 B)
📄
dst%3f-i.yaml
(580 B)
📄
eql%3f-i.yaml
(359 B)
📄
getgm-i.yaml
(670 B)
📄
getlocal-i.yaml
(699 B)
📄
getutc-i.yaml
(672 B)
📄
gm-c.yaml
(1.12 KB)
📄
gmt%3f-i.yaml
(893 B)
📄
gmt_offset-i.yaml
(650 B)
📄
gmtime-i.yaml
(701 B)
📄
gmtoff-i.yaml
(642 B)
📄
hash-i.yaml
(261 B)
📄
hour-i.yaml
(398 B)
📄
httpdate-c.yaml
(540 B)
📄
httpdate-i.yaml
(467 B)
📄
inspect-i.yaml
(559 B)
📄
isdst-i.yaml
(582 B)
📄
iso8601-i.yaml
(242 B)
📄
local-c.yaml
(616 B)
📄
localtime-i.yaml
(557 B)
📄
make_time-c.yaml
(226 B)
📄
marshal_dump-i.yaml
(225 B)
📄
marshal_load-i.yaml
(227 B)
📄
mday-i.yaml
(448 B)
📄
min-i.yaml
(399 B)
📄
mktime-c.yaml
(618 B)
📄
mon-i.yaml
(450 B)
📄
month-i.yaml
(454 B)
📄
month_days-c.yaml
(177 B)
📄
new-c.yaml
(952 B)
📄
now-c.yaml
(893 B)
📄
parse-c.yaml
(2.62 KB)
📄
rfc2822-c.yaml
(624 B)
📄
rfc2822-i.yaml
(565 B)
📄
rfc822-i.yaml
(221 B)
📄
sec-i.yaml
(607 B)
📄
strftime-i.yaml
(1.77 KB)
📄
succ-i.yaml
(285 B)
📄
times-c.yaml
(272 B)
📄
to_a-i.yaml
(737 B)
📄
to_date-i.yaml
(230 B)
📄
to_datetime-i.yaml
(175 B)
📄
to_f-i.yaml
(474 B)
📄
to_i-i.yaml
(489 B)
📄
to_s-i.yaml
(553 B)
📄
to_yaml-i.yaml
(177 B)
📄
tv_sec-i.yaml
(493 B)
📄
tv_usec-i.yaml
(516 B)
📄
usec-i.yaml
(510 B)
📄
utc%3f-i.yaml
(893 B)
📄
utc-c.yaml
(1.13 KB)
📄
utc-i.yaml
(695 B)
📄
utc_offset-i.yaml
(650 B)
📄
w3cdtf-c.yaml
(168 B)
📄
w3cdtf-i.yaml
(164 B)
📄
wday-i.yaml
(420 B)
📄
xmlschema-c.yaml
(614 B)
📄
xmlschema-i.yaml
(755 B)
📄
yaml_new-c.yaml
(185 B)
📄
yday-i.yaml
(405 B)
📄
year-i.yaml
(406 B)
📄
zone-i.yaml
(566 B)
📄
zone_offset-c.yaml
(198 B)
📄
zone_utc%3f-c.yaml
(175 B)
Editing: strftime-i.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Formats <em>time</em> according to the directives in the given format string. Any text not listed as a directive will be passed through to the output string. - !ruby/struct:SM::Flow::P body: "Format meaning:" - !ruby/struct:SM::Flow::VERB body: " %a - The abbreviated weekday name (``Sun'')\n %A - The full weekday name (``Sunday'')\n %b - The abbreviated month name (``Jan'')\n %B - The full month name (``January'')\n %c - The preferred local date and time representation\n %d - Day of the month (01..31)\n %H - Hour of the day, 24-hour clock (00..23)\n %I - Hour of the day, 12-hour clock (01..12)\n %j - Day of the year (001..366)\n %m - Month of the year (01..12)\n %M - Minute of the hour (00..59)\n %p - Meridian indicator (``AM'' or ``PM'')\n %S - Second of the minute (00..60)\n %U - Week number of the current year,\n starting with the first Sunday as the first\n day of the first week (00..53)\n %W - Week number of the current year,\n starting with the first Monday as the first\n day of the first week (00..53)\n %w - Day of the week (Sunday is 0, 0..6)\n %x - Preferred representation for the date alone, no time\n %X - Preferred representation for the time alone, no date\n %y - Year without a century (00..99)\n %Y - Year with century\n %Z - Time zone name\n %% - Literal ``%'' character\n\n t = Time.now\n t.strftime("Printed on %m/%d/%Y") #=> "Printed on 04/09/2003"\n t.strftime("at %I:%M%p") #=> "at 08:56AM"\n" full_name: Time#strftime is_singleton: false name: strftime params: | time.strftime( string ) => string visibility: public
Upload File
Create Folder