Flowdock
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)  #=> 2000-01-01 20:15:01 UTC
t.gmt?                                  #=> true
t.localtime                             #=> 2000-01-01 14:15:01 -0600
t.gmt?                                  #=> false
Show source
Register or log in to add new notes.