# Retrieving years months & days between two dates in DataWeave 2.0 using between from Periods module

> Get the years, months, and days between two dates in DataWeave 2.0 with the between function from the Periods module — in under 30 seconds.

- **Watch:** https://www.youtube.com/watch?v=MAZC_pLl-2c
- **Page:** https://prostdev.com/video/years-months-days-between-dates-dataweave-periods
- **Series:** Getting to the point

## About this video

Get the years, months, and days between two dates in DataWeave 2.0 with the between function from the Periods module — in under 30 seconds.

## Transcript

_Transcript not yet available. Auto-generated captions are available on YouTube._