---
title: "DATE function in Excel: syntax and examples | PracticeExcel"
description: "How to use DATE in Excel and Google Sheets: build dates from parts and do date arithmetic."
canonical_url: "https://practiceexcelonline.com/functions/date"
locale: en
meta:
  "og:description": "How to use DATE in Excel and Google Sheets: build dates from parts and do date arithmetic."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~REFURSBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBEQVRFIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiBidWlsZCBkYXRlcyBmcm9tIHBhcnRzIGFuZCBkbyBkYXRlIGFyaXRobWV0aWMu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~REFURSh5ZWFyLCBtb250aCwgZGF5KQ%2Cp_Ii9mdW5jdGlvbnMvZGF0ZSI%2Cs_weP3lWvkI3Rz6C5k.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "DATE function in Excel: syntax and examples | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~REFURSBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBEQVRFIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiBidWlsZCBkYXRlcyBmcm9tIHBhcnRzIGFuZCBkbyBkYXRlIGFyaXRobWV0aWMu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~REFURSh5ZWFyLCBtb250aCwgZGF5KQ%2Cp_Ii9mdW5jdGlvbnMvZGF0ZSI%2Cs_weP3lWvkI3Rz6C5k.png"
---

> Index of every page on this site: [llms.txt](https://practiceexcelonline.com/llms.txt)

# **The DATE function**

Builds a date from a year, month and day. Months and days outside the normal range roll over: month 14 is February next year.

=

DATE(

## **Syntax**

```
DATE(year, month, day)
```

<dl><dt>**year **</dt>
<dd>The year, such as 2024.</dd>
<dt>**month **</dt>
<dd>The month, 1 to 12 (other values roll over).</dd>
<dt>**day **</dt>
<dd>The day of the month.</dd></dl>

## **Examples**

B1=DATE(2024,3,15)-DATE(2024,1,1)

|  | A | B |
| --- | --- | --- |
| 1 |  | **74** |

B1=MONTH(DATE(2024,14,1))

|  | A | B |
| --- | --- | --- |
| 1 |  | **2** |

## **Read the guide**

- [**Dates in Excel: how they work and the formulas you need**](https://practiceexcelonline.com/learn/excel-dates)

## **Related functions**

- [**YEAR**](https://practiceexcelonline.com/functions/year)
- [**MONTH**](https://practiceexcelonline.com/functions/month)
- [**EOMONTH**](https://practiceexcelonline.com/functions/eomonth)
- [**TODAY**](https://practiceexcelonline.com/functions/today)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://practiceexcelonline.com/#identity","@type":"Organization","name":"PracticeExcel","url":"https://practiceexcelonline.com/","logo":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/#website","@type":"WebSite","inLanguage":"en-US","name":"PracticeExcel","url":"https://practiceexcelonline.com/","alternateName":["Practice Excel Online","PracticeExcelOnline.com"],"publisher":{"@id":"https://practiceexcelonline.com/#identity"},"workTranslation":{"@id":"https://excelopgaver.dk/#website"}},{"@id":"https://practiceexcelonline.com/functions/date#webpage","@type":"WebPage","description":"How to use DATE in Excel and Google Sheets: build dates from parts and do date arithmetic.","name":"DATE function in Excel: syntax and examples","url":"https://practiceexcelonline.com/functions/date","breadcrumb":{"@id":"https://practiceexcelonline.com/functions/date#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/functions/date"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/functions/date#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Excel functions","item":"https://practiceexcelonline.com/functions","position":2},{"@type":"ListItem","name":"DATE function in Excel: syntax and examples","position":3}]},{"@id":"https://practiceexcelonline.com/functions/date#article","description":"How to use DATE in Excel and Google Sheets: build dates from parts and do date arithmetic.","headline":"DATE function in Excel: syntax and examples","inLanguage":"en-US","thumbnailUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~REFURSBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBEQVRFIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiBidWlsZCBkYXRlcyBmcm9tIHBhcnRzIGFuZCBkbyBkYXRlIGFyaXRobWV0aWMu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~REFURSh5ZWFyLCBtb250aCwgZGF5KQ%2Cp_Ii9mdW5jdGlvbnMvZGF0ZSI%2Cs_weP3lWvkI3Rz6C5k.png","@type":["Article","TechArticle"],"author":{"@id":"https://practiceexcelonline.com/#identity"},"image":{"@id":"https://practiceexcelonline.com/#/schema/image/1"},"isPartOf":{"@id":"https://practiceexcelonline.com/functions/date#webpage"},"mainEntityOfPage":{"@id":"https://practiceexcelonline.com/functions/date#webpage"},"publisher":{"@id":"https://practiceexcelonline.com/#identity"}},{"@id":"https://practiceexcelonline.com/#logo","@type":"ImageObject","caption":"PracticeExcel","contentUrl":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png"},{"@id":"https://practiceexcelonline.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~REFURSBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBEQVRFIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiBidWlsZCBkYXRlcyBmcm9tIHBhcnRzIGFuZCBkbyBkYXRlIGFyaXRobWV0aWMu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~REFURSh5ZWFyLCBtb250aCwgZGF5KQ%2Cp_Ii9mdW5jdGlvbnMvZGF0ZSI%2Cs_weP3lWvkI3Rz6C5k.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~REFURSBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBEQVRFIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiBidWlsZCBkYXRlcyBmcm9tIHBhcnRzIGFuZCBkbyBkYXRlIGFyaXRobWV0aWMu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~REFURSh5ZWFyLCBtb250aCwgZGF5KQ%2Cp_Ii9mdW5jdGlvbnMvZGF0ZSI%2Cs_weP3lWvkI3Rz6C5k.png"}]}
```

## Sitemap

See the full [sitemap](https://practiceexcelonline.com/sitemap.md) for all pages.
