title: Day and month comparison without inluding year in vb.net
body: <p>Given following information </p>
  
  <pre><code>orderdate=05/01/2016
  startday=24
  startmonth=08
  endday=2
  endmonth=10
  </code></pre>
  
  <p>Basically we have to compare orderdate for sales period that is <code>24 august</code> to <code>10 october</code>.</p>
  
  <p>Dates falling outside the period of <code>24 august</code> to <code>10 october</code> will be non sales period.</p>
  
  <p>So for any given order date we have to calculate whether it is falling in sales period or non sales period. The problem is that we are not provided with the year only start day ,start month,end day and end month.</p>
  
  <p>Also lets say if we use Date time then for <code>start date=24/08/2016</code> and <code>enddate=2/10/2016</code>. It will take current year but normally it is wrong.</p>
  
  <p>It should take <code>startdate=24/08/2015</code> (As non sales period will start from 3rd october 2015 till 23 August 2016 after that sales period will start and <code>enddate=2/10/2016</code> (which we are getting correct).</p>
  
  <p>Please tell me if there is any possibility to compare only month and dates without year to compare orderdate with given  start day ,start month,end day and end month.</p>