day()
Returns the day of the month of a particular date.
day(date)
- date - the date to be evaluated.
- Return type: Number
day('2020-05-12') returns 12.
Input type | Return type | Logic |
Date | Date | If a Date is passed, the function will return the day of the month. Default is today. |
Unsupported data types | Null | Unsupported data types return Null. |