The getdate() function of date object returns day of the month for specified date. Use it for example to get day of the month.
Syntax