int = DaysAscending(nAnyDate)
This macro function takes the date nAnyDate as parameter and returns the day number within the year.
For example: the result is 1 for January 1, and 365 or 366 for December 31.
This is the function used internally to evaluate the [t+] token.
nDayOfYear = DaysAscending(Today())
See also: DaysDescending.
Topic 125600, last updated on 10-Oct-2026