What is a quick way to determine if a certain date:
- is next week
- is last week
- is this week
- etc
I am open to using Date, Moment, Date-fns, or Dayjs if any of those have a built-in method.
As of now, I am thinking of using getDay() and comparing if the date is not too far ahead and not too near to today.
Thanks,