only numbers are allowed in year, month and day