From: "joe c." Date: 2011-09-16T00:16:23+09:00 Subject: calculating days to go using date class-help needed consider this code stub require 'date' today = DateTime.now puts "Datetime.now returned: "+today.to_s birthday = Date.new(2011, 10, 10) days_to_go = today-birthday puts "Days to go: "+days_to_go.to_s It prints a number like -52632699/21600000 How do I get it to show true number of days, i.e. a number like 25 Thanks in advance! Joe -- Posted via http://www.ruby-forum.com/.