returns True if the calendar dates date1 and date2 overlap, and False otherwise.


  • In DateOverlapsQ[date1,date2], both date1 and date2 should be specified as DateObject expressions of any calendar granularity.
  • DateOverlapsQ accepts lists of dates in both arguments, effectively calling Outer on the input lists.
  • DateOverlapsQ returns True if there is any intersection in the time period represented by date1 and date2.


open allclose all

Basic Examples  (2)

Now and Today are overlapping:

But Now and Yesterday are not:

Test whether a given week overlaps with the year 2022:

Scope  (3)

Test whether a date overlaps several different dates:

Test whether several dates overlap a given date:

Test for overlaps of several dates against several other dates:

Properties & Relations  (3)

DateOverlapsQ returns True if any part of the dates are overlapping:

DateWithinQ will return True only if date2 is entirely contained within date1:

If two dates overlap, their difference will be zero of the largest calendar granularity:

If two date objects overlap, they cannot be compared:

Wolfram Research (2017), DateOverlapsQ, Wolfram Language function,


Wolfram Research (2017), DateOverlapsQ, Wolfram Language function,


Wolfram Language. 2017. "DateOverlapsQ." Wolfram Language & System Documentation Center. Wolfram Research.


Wolfram Language. (2017). DateOverlapsQ. Wolfram Language & System Documentation Center. Retrieved from


@misc{reference.wolfram_2024_dateoverlapsq, author="Wolfram Research", title="{DateOverlapsQ}", year="2017", howpublished="\url{}", note=[Accessed: 22-July-2024 ]}


@online{reference.wolfram_2024_dateoverlapsq, organization={Wolfram Research}, title={DateOverlapsQ}, year={2017}, url={}, note=[Accessed: 22-July-2024 ]}