my portfolio 💻

 
  • Alex Martinez

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

Updated: Aug 24, 2021

Mar 20, 2021 | ProstDev


Retrieving number of years, months, and days between two dates in DataWeave 2.0 using the between function from the Periods module. Under 30 seconds! | Getting to the point


Try it yourself! Here you can find the input, script, and expected output:

https://github.com/ProstDev/getting-to-the-point/blob/master/retrieving-years-months-days-dw2.txt


Video:


16 views0 comments