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


Previous pageReturn to chapter overviewNext page

int = DayDescending(nAnyDate)


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


nDaysUntilDec31st = DayDescending(Today())


Note that the value of this function on December 31st is 0, not 1.


See also : DaysAscending.

Topic 125700 updated on 17-Mar-01.
Topic URL: