Flowdock
-(p1) public

Difference—Returns a new time that represents the difference between two times, or subtracts the given number of seconds in numeric from time.

   t = Time.now       #=> Wed Apr 09 08:56:03 CDT 2003
   t2 = t + 2592000   #=> Fri May 09 08:56:03 CDT 2003
   t2 - t             #=> 2592000.0
   t2 - 2592000       #=> Wed Apr 09 08:56:03 CDT 2003
Show source
Register or log in to add new notes.