title: Visual Basic: Calculating days until birthday from today
body: <p>I need to make a function what calculates days until birthday from todays date.
  What I have so far is:</p>
  
  <pre><code>Function synnipaev(sk As Date, tana As Date)
  
  synnipaev = DateDiff("d", sk, tana)
  
  End Function
  </code></pre>
  
  <p>sk is birthdate in the Excel sheet (formated as 10.10.2001 DD/MM/YYYY)</p>
  
  <p>tana is todays date in the Excel sheet ( =TODAY() DD/MM/YYYY)</p>
  
  <p>It gives me the days but also includes the years. 
  How to make the function not include years?</p>