Hi @DHAGZ ,
You could try this formula instead of “=Datedif(StartDate,Endate+1,"y")”
DateDiff(DatePicker1.SelectedDate,DatePicker2.SelectedDate,Years)

You could try this formula instead of “=Datedif(StartDate,Endate+1,"ym")”
Abs(Month(DatePicker2.SelectedDate)-Month(DatePicker1.SelectedDate))

You could try this formula instead of “=Datedif(StartDate,Endate+1,"md")”
Abs(Day(DatePicker2.SelectedDate)-Day(DatePicker1.SelectedDate))

Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.