⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Time
/
View File Name :
zone_offset-c.ri
U:RDoc::AnyMethod[iI"zone_offset:ETI"Time::zone_offset;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"BReturn the number of seconds the specified time zone differs ;TI"from UTC.;To:RDoc::Markup::BlankLine o; ; [ I"6Numeric time zones that include minutes, such as ;TI"B<code>-10:00</code> or <code>+1330</code> will work, as will ;TI";simpler hour-only time zones like <code>-10</code> or ;TI"<code>+13</code>.;T@o; ; [I"@Textual time zones listed in ZoneOffset are also supported.;T@o; ; [ I"EIf the time zone does not match any of the above, +zone_offset+ ;TI">will check if the local time zone (both with and without ;TI"Fpotential Daylight Saving \Time changes being in effect) matches ;TI"E+zone+. Specifying a value for +year+ will change the year used ;TI"!to find the local time zone.;T@o; ; [I"EIf +zone_offset+ is unable to determine the offset, nil will be ;TI"returned.;T@o:RDoc::Markup::Verbatim; [I"require 'time' ;TI" ;TI"(Time.zone_offset("EST") #=> -18000 ;T:@format0o; ; [I"0You must require 'time' to use this method.;T: @fileI"lib/time.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(zone, year=self.now.year);T@,FI" Time;TcRDoc::NormalClass00