Added yyyy-dates and different date formats
fix maximum dates