DATEDIF in Apple Numbers
Short answer: DATEDIF returns the difference between two dates in days ("D"), whole months ("M") or whole years ("Y"). Syntax:
DATEDIF(start, end, unit)Explanation
DATEDIF returns the difference between two dates in days ("D"), whole months ("M") or whole years ("Y").
Syntax
DATEDIF(start, end, unit)Example
How many whole months are between 1 January 2026 and 25 December 2026?
Formula: =DATEDIF(DATE(2026,1,1),DATE(2026,12,25),"M")
Result: 11
Frequently asked questions
What does DATEDIF do in Apple Numbers?
DATEDIF returns the difference between two dates in days ("D"), whole months ("M") or whole years ("Y").
What is the syntax of DATEDIF?
The syntax is DATEDIF(start, end, unit).
More in this category
- DATE + MONTH
- WEEKDAY + DATE
- MONTH + EDATE + DATE
- DAY + EOMONTH + DATE
- HOUR + TIME
- YEAR
- DATEVALUE + DAY
- DAYNAME
Read more
Practise it yourself
Type the formula yourself in a real exercise and see right away if your answer is correct. The first exercises are free.
Start practising