title: Get the next or last occurrence of a day and month based on today's date in Javascript
body: <p>I need to determine whether I'm in the Spring, Summer or Autumn period of any given year, and display the a journal based on that. The periods are as follows:</p>
  
  <pre><code>Spring: 14th January - 6th May 
  Summer: 7th May - 7th October
  Autumn: 8th October - 13th January
  </code></pre>
  
  <p>So today (7th February), I'm in the Spring period (14th January 2019 - 6th May 2019) and showing the Spring 2019 issue. However, let's say it's Christmas Day 2019. I'll be in Autumn period (8th October 2019 - 13th January 2020) so I'll be showing the Autumn 2019 issue, which means the next Spring and Summer issues will be in 2020. </p>
  
  <p>I've been messing around with JS dates and moment objects to try and establish the current/next periods based on today, and I would post my code here but I'm almost sure it's all useless. It the change of year over the Autumn period which is tripping me up. Does anyone have any libraries or suggestions that might help? Or am I overthinking this?</p>