![](https://blogs.sas.com/content/sgf/files/2022/01/three-solutions-for-days-overlap.jpg)
Calculating the overlap of date/time intervals
Leonid Batkhan describes and discusses pros and cons of 3 different algorithms and SAS code implementations to calculate length of overlap of date/time intervals and integer intervals in general.