How do I make sure that the input date has the correct month and day? ex 2021-99-99, obviously there is no such month 99 day 99. How do I make sure the input month number is wit