⚝
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
/
Edit File: getlocal-i.ri
U:RDoc::AnyMethod[iI" getlocal:ETI"Time#getlocal;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"6Returns a new Time object representing _time_ in ;TI"Glocal time (using the local time zone in effect for this process).;To:RDoc::Markup::BlankLine o; ; [I"EIf +utc_offset+ is given, it is used instead of the local time. ;TI"V+utc_offset+ can be given as a human-readable string (eg. <code>"+09:00"</code>) ;TI"8or as a number of seconds (eg. <code>32400</code>).;T@o:RDoc::Markup::Verbatim; [I"At = Time.utc(2000,1,1,20,15,1) #=> 2000-01-01 20:15:01 UTC ;TI".t.utc? #=> true ;TI" ;TI"Cl = t.getlocal #=> 2000-01-01 14:15:01 -0600 ;TI"/l.utc? #=> false ;TI".t == l #=> true ;TI" ;TI"Cj = t.getlocal("+09:00") #=> 2000-01-02 05:15:01 +0900 ;TI"/j.utc? #=> false ;TI".t == j #=> true ;TI" ;TI"Ck = t.getlocal(9*60*60) #=> 2000-01-02 05:15:01 +0900 ;TI"/k.utc? #=> false ;TI"-t == k #=> true;T:@format0: @fileI"time.c;T:0@omit_headings_from_table_of_contents_below0I"itime.getlocal -> new_time time.getlocal(utc_offset) -> new_time time.getlocal(timezone) -> new_time ;T0[ I"(*args);T@%FI" Time;TcRDoc::NormalClass00
Simpan