Mitech Preloader

The DaysBetween Function

User Reference

The DaysBetween Function

«DaysBetween(EndDate,StartDate)» returns the number of days between the two dates.

For example:

I was born on «FormatDate(DateOfBirth,‘d MMMM yyyy’)» which means I am «floor(DaysBetween(Today(),DateOfBirth) div 365.25)» years old.

The MonthsBetween function has a similar functionality.