Time.new â timeTime.new(year, month=nil, day=nil, hour=nil, min=nil, sec=nil, utc_offset=nil) â time
Class Public methods
Returns a Time object.
It is initialized to the current system time if no argument is given.
Note: The new object will use the resolution available on
your system clock, and may include fractional seconds.
If one or more arguments specified, the time is initialized to the
specified time.
sec may have fraction if it is a rational.
utc_offset is the offset from U