How to get difference between dates in months, given today's date and a user selected date

when user selects a date, need to compare it with today() and get difference between years. Like difference between 2018 and 2020 is 24 months. 

Please share a recipe. I understand if we need to use existing date time functions but would prefer a recipe on how to write in SAIL. 

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data