Macros > Macro Language > Built-in Functions > All Functions (Alphabetical) >
int = DayOf(nDate)
This macro function takes a date as parameter and returns the day, which is a value from 1-31 depending on the month of the date passed as parameter.
bIsFirstOfMonth = (DayOf(nSomeDate) == 1)
This is the function called internally by Q++ to evaluate the [d] token.
See also : WeekdayOf, WeekNumberOf, MonthOf, YearOf.