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 ] |
---|
U:RDoc::AnyMethod[iI"at:ETI" Time::at;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"?Creates a new Time object with the value given by +time+, ;TI"1the given number of +seconds_with_frac+, or ;TI"=+seconds+ and +microseconds_with_frac+ since the Epoch. ;TI"6+seconds_with_frac+ and +microseconds_with_frac+ ;TI";can be an Integer, Float, Rational, or other Numeric. ;TI"Knon-portable feature allows the offset to be negative on some systems.;To:RDoc::Markup::BlankLine o; ; [I"AIf a numeric argument is given, the result is in local time.;T@o:RDoc::Markup::Verbatim; [I"HTime.at(0) #=> 1969-12-31 18:00:00 -0600 ;TI"HTime.at(Time.at(0)) #=> 1969-12-31 18:00:00 -0600 ;TI"HTime.at(946702800) #=> 1999-12-31 23:00:00 -0600 ;TI"HTime.at(-284061600) #=> 1960-12-31 00:00:00 -0600 ;TI"5Time.at(946684800.2).usec #=> 200000 ;TI"7Time.at(946684800, 123456.789).nsec #=> 123456789;T:@format0: @fileI"time.c;T:0@omit_headings_from_table_of_contents_below0I"oTime.at(time) -> time Time.at(seconds_with_frac) -> time Time.at(seconds, microseconds_with_frac) -> time ;T0[ I"(p1, p2 = v2);T@FI" Time;TcRDoc::NormalClass00