I'm looking for return months in-between dates,
- Start date:
2022-03-17
- End Date:
2022-06-17
I am able to get days through the below query.
days-from-duration(xs:date('2022-03-17') - xs:date('2022-06-17'))
But my expected output is: 2022-03,2022-04,2022-05,2022-06