DateWithinQ
DateWithinQ[date1, date2] returns True if the calendar date date2 is entirely contained within date1, and False otherwise.
Examples
Check if a date is within another:
DateWithinQ[DateObject[{2020}], DateObject[{2020, 6, 15}]]
(* True *)Please visit the official Wolfram Language Reference for more details.