Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/ri/system/Time/getlocal-i.ri
Arrière
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"Etime.getlocal -> new_time time.getlocal(utc_offset) -> new_time ;T0[ I"(p1 = v1);T@%FI" Time;TcRDoc::NormalClass00
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0 |
proxy
|
phpinfo
|
Réglages