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


Previous pageReturn to chapter overviewNext page

int = DayAscending(nAnyDate)


This macro function takes a date as parameter and returns the number of days elapsed since the beginning of the year. This is the function used internally by Q++Studio to evaluate the [t+] token.


nDaysSinceJan1st = DayAscending(Today())


From the above definition it follows that for any date between January 1-31, of any year, the result of this function is the same as the result of the DayOf function.


See also : DaysDescending.

Topic 125600 updated on 03-May-2018.
Topic URL: