These docs are for v1.0. Click to read the latest docs for v1.2.

DAY

Gets the day component of the specified date.

Syntax

=DAY(date)

Arguments

ArgumentTypeDescription
dateDateThe date to use for calculation

Examples

=DAY(DATE(2020, 2, 3, 4, 5))3
Gets the day component 3 from the specified date Feb 3, 2020 4:05 AM

=DAY(DATE(2020, 4, 5, 6, 7))5
Gets the day component 5 from the specified date Apr 5, 2020 6:07 AM