DATE Function in Excel: Build a Date From Year, Month and Day

📎 This article includes 1 downloadable practice file ↓

⏱ 1 min readUpdated 28 September 2026

Date & TimeLevel: BeginnerAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Example 2
  5. Example 3
  6. Related functions

DATE creates a real date from separate year, month and day numbers — the reliable way to put dates in formulas.

Syntax

=DATE(year, month, day)
Argument What it means
year Four-digit year.
month 1–12 (larger values roll into the next year).
day 1–31 (0 = last day of the previous month).

Examples

Example 1

=DATE(2016, 4, 1)

1-Apr-2016, start of the financial year.

Example 2

=DATE(YEAR(A2), MONTH(A2)+1, 0)

Last day of A2’s month.

Example 3

=DATE(YEAR(A2)-(MONTH(A2)<4), 4, 1)

Start of the Indian financial year for any date.

YEAR · EOMONTH · EDATE · TEXT

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

📎 Practice files for this article

  • 📗
    Date scenarios workbookMonth maths, financial-year start, working days with holidays — with PASS/FAIL checks and the 2 most common date mistakes.
    ⬇ XLSX · 8 KB

Free to use for learning. Files with macros (.bas) are plain text — import them with Alt+F11 → File → Import File, and always test on a copy.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong