EDATE
Supported, behaves as documentedCategory: Date and time · Last tested 2026-07-04
Support matrix
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| Excel | Yes | Not yet | n/a |
| Google Sheets | Yes | Not yet | n/a |
| LibreOffice Calc | Yes | Yes (24.2.7.2, 2026-07-04) | Supported, behaves as documented |
Executed test cases
LibreOffice Calc 24.2.7.2 (tested 2026-07-04)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =EDATE(DATE(2024,1,31),1) | Jan 31 + 1 month clamps to the last day of February in a leap year (2024-02-29); result is the underlying date serial number | 45351 | 45351 2024 is a leap year; Feb has no 31st so EDATE clamps to Feb 29 = serial 45351 |
Matched |
| =EDATE(DATE(2024,3,15),-2) | Negative months argument goes backward (2024-01-15 = serial 45306) | 45306 | 45306 | Matched |
| =EDATE(DATE(2023,11,15),3) | Crossing a year boundary (2024-02-15 = serial 45337) | 45337 | 45337 | Matched |
| =EDATE(DATE(2024,1,1),1.9) | Non-integer months argument is truncated toward zero, not rounded (2024-02-01 = serial 45323) | 45323 | 45323 1.9 truncates to 1, not rounded to 2 |
Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation