C:\>irb irb(main):001:0> (Time.gm(2004, 3, 11, 6, 45) - Time.gm(2001, 9, 11, 12, 45)) / 86400 => 911.75