Suppose i have the below tags in the XML,
<code><startDate>2013-06-06</startDate>
<endDate>2023-12-06</endDate>
</code>
<code><startDate>2013-06-06</startDate>
<endDate>2023-12-06</endDate>
</code>
<startDate>2013-06-06</startDate>
<endDate>2023-12-06</endDate>
How do i calculate the difference of these dates and the answer should be in months.
This answer to the above should be 6 months.