Flowdock
+(p1) public

Addition—Adds some number of seconds (possibly fractional) to time and returns that value as a new time.

t = Time.now         #=> 2007-11-19 08:22:21 -0600
t + (60 * 60 * 24)   #=> 2007-11-20 08:22:21 -0600
Show source
Register or log in to add new notes.