How Do I Find Common Dates in Two Ranges
Posted
by Russ Bradberry
on Stack Overflow
See other posts from Stack Overflow
or by Russ Bradberry
Published on 2010-05-26T23:24:08Z
Indexed on
2010/05/26
23:51 UTC
Read the original article
Hit count: 210
I have 2 date ranges, start_date1..end_date1
and start_date2..end_date2
, is there an easy "ruby" way to find all the dates that are in both ranges?
© Stack Overflow or respective owner