calculate the day count according to a given convention
DayCount(fromdate, todate, daycounter)
a string containing a date specification in a format recognized by ParseDate or a date data structure; first date
a string containing a date specification in a format recognized by ParseDate or a date data structure; second date
(optional) day counter or the name of a day counting convention
The DayCount command returns the number of days between fromdate and todate according to the day counting convention specified by daycounter. If no day counter is specified, the default one will be used.
See DayCounter or CalendarsAndDayCounters for a detailed description of the supported day count conventions and additional examples.
DC ≔ Finance:-DayCounter⁡OneDay:
The Finance[DayCount] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
Download Help Document