Using real date objects instead of doubles