D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Time
/
Filename :
localtime-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts <em>time</em> to local time (using the local time zone in effect for this process) modifying the receiver. - !ruby/struct:SM::Flow::VERB body: " t = Time.gm(2000, "jan", 1, 20, 15, 1)\n t.gmt? #=> true\n t.localtime #=> Sat Jan 01 14:15:01 CST 2000\n t.gmt? #=> false\n" full_name: Time#localtime is_singleton: false name: localtime params: | time.localtime => time visibility: public