D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Time
/
Filename :
utc-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts <em>time</em> to UTC (GMT), modifying the receiver. - !ruby/struct:SM::Flow::VERB body: " t = Time.now #=> Wed Apr 09 08:56:03 CDT 2003\n t.gmt? #=> false\n t.gmtime #=> Wed Apr 09 13:56:03 UTC 2003\n t.gmt? #=> true\n\n t = Time.now #=> Wed Apr 09 08:56:04 CDT 2003\n t.utc? #=> false\n t.utc #=> Wed Apr 09 13:56:04 UTC 2003\n t.utc? #=> true\n" full_name: Time#utc is_singleton: false name: utc params: | time.gmtime => time time.utc => time visibility: public