DAY Function
Return the day of the month of a date, from 1 to 31. serial_number is a date serial number or a date in text form, such as "2026-10-09". A negative number returns #NUM!, and text that is not a date returns #VALUE!.
Syntax
DAY(serial_number)
Category: Date & Time. Minimum arguments: 1. Maximum arguments: 1.
Available for supported offline calculation.
Examples
=DAY(45292)
The formula returns 1, because the serial number 45292 is January 1, 2024.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.