AlkantarClanX12
Current Path : /opt/alt/ruby18/share/ri/1.8/system/Time/ |
Current File : //opt/alt/ruby18/share/ri/1.8/system/Time/getutc-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new <tt>new_time</tt> object representing <em>time</em> in UTC. - !ruby/struct:SM::Flow::VERB body: " t = Time.local(2000,1,1,20,15,1) #=> Sat Jan 01 20:15:01 CST 2000\n t.gmt? #=> false\n y = t.getgm #=> Sun Jan 02 02:15:01 UTC 2000\n y.gmt? #=> true\n t == y #=> true\n" full_name: Time#getutc is_singleton: false name: getutc params: | time.getgm => new_time time.getutc => new_time visibility: public