I need to determine if a date (month and day) is between two other month/days.
I've attached an image to this post that describes what I'm trying to do. Basically the example "current day" is highlighted in red, and it's between those nearest dates (mar 15 and nov 22). However, when I use unix timestamps and artificially add a year to the dates, the script thinks that Nov 22 hasn't occurred yet, and therefore it suggests that Feb 1 is before Mar 15 AND Nov 22, instead of in between them.
Hopefully this makes sense. I'd just like to compare dates using months and days, but ignoring year, and using a framework like the wheel I show on the image.
Thanks for any help!!!