⚝
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 :
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.
"+09:00"
) ;TI"8or as a number of seconds (eg.
32400
).;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