Returns the one or two-digit day of the month from the specified date. For example, the function returns:
- 1 for 1 January 2012
- 31 for 31 December 2012
Syntax
day(date)
Parameters
date
can be any of the following:
- Another function that returns a date.
- A formula column that returns a date.
Examples
- If today is 1 January 2012, the following function returns 1:
day(today())
- The following function returns 1:
day(date(2013,01,01))