title: Time difference in specific year in Python
body: <p>I have a time range like this:</p>
  <pre><code>runtime_start = datetime.date(2021,1,1)
  runtime_end = datetime.date(2022,3,1)
  current_year = datetime.date.today().year
  </code></pre>
  <p>How can I calculate the number of month in the current_year?</p>
  <p>Some Examples:</p>
  <pre><code>runtime_start = 2021,1,1 | runtime_end = 2022,3,1 | current_year = 2021 | output = 12
  </code></pre>
  <pre><code>runtime_start = 2021,1,1 | runtime_end = 2021,6,1 | current_year = 2021 | output= 5
  </code></pre>