Simplified handling of dates and datespans.