I have 2 date range:
2014/01/28 - 2015/10/10 //first
2015/10/11 - 2014/01/27 //second
How to check using DateTime object in PHP only the month, day and ignoring the year if 2015/06/24
is between first or second date range. The expected answer that 2015/06/24
is between first date range, because 06/24 is between 01/28 - 10/10
Thank you.