Navigation:  Macros > Macro Language > Built-in Functions > All Functions (Alphabetical) >


Previous pageReturn to chapter overviewNext page

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.

Topic 105062 updated on 03-Jan-2002.
Topic URL: