# DAY in Google Sheets: syntax and examples

URL: https://goingstellar.ro/reference/sheets/day/

DAY extracts the day of the month from a date as a number between 1 and 31. It accepts real dates, serial numbers and text dates that Sheets can parse.

## Syntax

```
DAY(date)
```

## Arguments

- `date` (date, required: yes): A date value, a serial number or a text date that Sheets can parse. Only the day of the month is returned.

## Examples

The examples use this table, starting in A1:

| Serial | Serial with time |
|---|---|
| 46096 | 46097.99 |
| 0 | 0.5 |

```
=DAY(A2)
```

Result: `15`

A date serial number. 46096 is 15 March 2026, so the result is 15. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=DAY(DATE(2026, 2, 28) + 1)
```

Result: `1`

One day after 28 February 2026 is 1 March, so DAY gives 1. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=DAY("2026-03-15")
```

Result: `15`

A text date in yyyy-mm-dd form is read the same way in both locales. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=DAY(EOMONTH(DATE(2026, 2, 1), 0))
```

Result: `28`

The day number of the last day of February: how many days the month has. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=DAY(B2)
```

Result: `16`

The time part after the decimal point is ignored: 46097.99 is still the 16th. Run in a Google Sheet (English US locale) on 2026-11-29.

## Common errors

- A serial number of 0 is 30 December 1899, so DAY(0) is 30. A blank cell passed to DAY gives the same 30, not an error.
- Text dates depend on the locale. "15.03.2026" is a valid date in ro_RO but gives #VALUE! in en_US. Use the yyyy-mm-dd form to be safe.
- Text that is not a date returns #VALUE!.

## Compared with Excel

Same syntax in Excel. For ordinary dates both return the same day.

## Related functions

- [MONTH](https://goingstellar.ro/reference/sheets/month/)
- [DATE](https://goingstellar.ro/reference/sheets/date/)
- [WEEKDAY](https://goingstellar.ro/reference/sheets/weekday/)
- [EOMONTH](https://goingstellar.ro/reference/sheets/eomonth/)

## Sources

- [DAY (Docs Editors Help)](https://support.google.com/docs/answer/3093040)

