D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Time
/
Filename :
getutc-i.ri
back
Copy
U:RDoc::AnyMethod[iI"getutc:ETI"Time#getutc;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"BReturns a new +Time+ object representing the value of +self+ ;TI"#converted to the UTC timezone:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"=local = Time.local(2000) # => 2000-01-01 00:00:00 -0600 ;TI")local.utc? # => false ;TI";utc = local.getutc # => 2000-01-01 06:00:00 UTC ;TI"(utc.utc? # => true ;TI"'utc == local # => true;T:@format0: @fileI"time.c;T:0@omit_headings_from_table_of_contents_below000[ I"();T@FI" Time;TcRDoc::NormalClass0[@FI" getgm;T