Mega Code Archive

 
Categories / Ruby / Time
 

Manipulate time objects by adding and subtracting numbers of seconds to them

puts Time.now puts Time.now - 10 puts Time.now + 86400