Dateeasy
DAY()
Returns the day of the month component of a date as a number from 1 to 31.
Syntax
fx
=DAY(date)
Arguments
Example
fx
=DAY("2026-05-07")
Paste this into Google Sheets to run it. The live playground on this site covers 24 of the 61 functions, and DAY isn't one of them yet.
Common pitfalls
- Returns the day-of-month (1-31). For day-of-year use
DAYS(date, DATE(YEAR(date), 1, 1)) + 1. - Like
MONTHandYEAR, depends on the cell being a real date or a parseable string.
Related formulas
Used by
EOMONTH()
Returns the last day of the month a specified number of months before or after a date.
WEEKDAY()
Returns the day of the week for a date, as a number (default Sunday=1, Saturday=7).
YEAR()
Returns the year component of a date as a four-digit number.
MONTH()
Returns the month component of a date as a number from 1 to 12.