⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
ri
/
3.0.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
-10:00
or
+1330
will work, as will ;TI";simpler hour-only time zones like
-10
or ;TI"
+13
.;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