D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Time
/
Filename :
utc_offset-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the offset in seconds between the timezone of <em>time</em> and UTC. - !ruby/struct:SM::Flow::VERB body: " t = Time.gm(2000,1,1,20,15,1) #=> Sat Jan 01 20:15:01 UTC 2000\n t.gmt_offset #=> 0\n l = t.getlocal #=> Sat Jan 01 14:15:01 CST 2000\n l.gmt_offset #=> -21600\n" full_name: Time#utc_offset is_singleton: false name: utc_offset params: | time.gmt_offset => fixnum time.gmtoff => fixnum time.utc_offset => fixnum visibility: public