dayofmonth
get day of month from a datetime
dayofmonth
(in dt datetime);
Description
dayofmonth takes a datetime and returns
an integer containing day of the month represented by the datetime
Parameters
dt –
A datetime.
Return Values
An INTEGER containing the day of month.
Examples
Simple example
Get current day of month.
See Also
dayname,
monthname,
dayofweek,
dayofyear,
quarter,
week,
month,
year,
hour,
minute,
second,
timezone