Hi
I want to Calculate the date difference in to Months and years
form given dates
date1: 15 Jan 2022
date2: 15 Jan 2024
date2-date1
ANS= 2 years
In Appian date difference
date2-date1 is calculating only days
730
Discussion posts and replies are publicly visible
Divide it by 365?
tointeger(date(2024,1,15)-date(2022,1,15))/365