method

localtime

v1_8_6_287 - Show latest stable - Class: Time
localtime()
public

Converts time to local time (using the local time zone in effect for this process) modifying the receiver.

   t = Time.gm(2000, "jan", 1, 20, 15, 1)
   t.gmt?        #=> true
   t.localtime   #=> Sat Jan 01 14:15:01 CST 2000
   t.gmt?        #=> false