Dates function

DAY

Which day of the month is this?

Purpose

Pull the day of the month out of a date

Returns

A number from 1 to 31

Syntax

=DAY(date)

ArgumentRequiredWhat goes here
dateRequiredThe cell holding the date, usually A2.

How to use DAY

DAY gives back the day of the month and nothing else. It does not say which month or which year.

It is the least used of the three date parts, because the questions an accountant asks are mostly about periods rather than about the number on a calendar.

Where it earns its place is rebuilding a date with DATE, and testing a day-of-month rule such as a direct debit that runs on the first.

Examples

Every result below is worked out by the same evaluator that marks your answers, on the sheet shown here.

Receivables ageing — October.xlsxSheet1
A receivables schedule with its reporting date above the data, the layout a real ageing uses
ABCDE
1Reporting date2026-10-31
2
3InvoiceInvoice dateTerms (days)AmountCustomer
4INV-90012026-07-14301200Calder Utilities
5INV-90022026-08-2930640Brightwell Paper
6INV-90032026-09-03453100Meridian Freight
7INV-90042026-09-3014455Thornbury Print
8INV-90052026-10-12302080Calder Utilities
9INV-90062026-10-2760725Ashgrove Catering
FormulaResult
=DAY(B4)The fourteenth.14
=DAY(B1)The reporting date falls on the thirty-first, which is a month end.31
=DATE(YEAR(B4),MONTH(B4),1)The first of the invoice month, built from the parts. DAY is the piece being replaced here.2026-07-01

Notes

  • EOMONTH is the better way to reach a month end than testing whether DAY is 28, 30 or 31.
Practise DAY in Unit 25

A reference tells you what it does. A unit makes you use it.