How do I count the number of days between these two dates?
start_date = Date.parse \"2012-03-02 14:46:21 +0100\" end_date = Date.parse \"2012-04-02 14:46:21
To have the number of whole days between two dates (DateTime objects):
DateTime
((end_at - start_at).to_f / 1.day).floor