Please enable JavaScript to view this site.


int = DayOf(nAnyDate)


This macro function takes a date nAnyDate 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 used internally to evaluate the [d] token.


See also: WeekdayOf, WeekNumberOf, MonthOf, YearOf.


Topic 105062, last updated on 18-Apr-2020