irb(main):80:0> RUBY_VERSION
=> "1.9.3"
irb(main):81:0> system("uname -a")
Linux krank 3.5.0-18-generic #29-Ubuntu SMP Fri Oct 19 10:27:31 UTC
2012 i686 i686 i686 GNU/Linux
=> true
irb(main):82:0> require 'date'
=> false
irb(main):083:0> Time.new(2012, 11, 3, 12, 00) - Time.new(2012, 10, 3, 12, 00)
=> 2678400.0
irb(main):084:0> _ / 3600 / 24
=> 31.0
irb(main):085:0> Time.new(2012, 11, 4, 12, 00) - Time.new(2012, 10, 4, 12, 00)
=> 2682000.0
irb(main):086:0> _ / 3600 / 24
=> 31.041666666666668
irb(main):087:0> Time.new(2013, 1, 4, 12, 00) - Time.new(2012, 12, 4, 12, 00)
=> 2678400.0