aqDateTime.GetDay method to get the number of days passed from the beginning of the month to the specified date.
The method is applied to the following object:
The method has the following parameter:
Specifies the date whose ordinal number you want to get.
The number of days passed since the beginning of the month.
Working With Dates
Working With Time