Date.Day
Date.Day(dateTime as any) as nullable number
Returns the day component of a date
, datetime
, or datetimezone
value.
dateTime
: Adate
,datetime
, ordatetimezone
value from which the day component is extracted.
Get the day component of a date
, datetime
, or datetimezone
value representing the date and time of 5/14/2011 05:00:00 PM.
Usage
Date.Day(#datetime(2011, 5, 14, 17, 0, 0))
Output
14