rework on check date function to allow less accurate date (no day or month)