DaysAscending

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++ 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 01-Nov-2016.

Topic URL: http://www.qppstudio.net/webhelp/index.html?daysascending.htm