|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
DayCountConvention
DayCountConvention
is an option that specifies the day count convention used by DateDifference.
DetailsDetails
- DayCountConvention is
by default. - Possible values of DayCountConvention are:
,
,
,
,
,
,
,
,
,
.
ExamplesExamplesopen allclose all
Basic Examples (2)Basic Examples (2)
Compute the date difference subject to a typical bond day count:
| In[1]:= |
| Out[1]= |
This is different from the number of days between the two dates:
| In[2]:= |
| Out[2]= |
| In[3]:= |
| Out[3]= |
| In[4]:= |
| Out[4]= |
Day count conventions differ with respect to the count applied to the last days of the month:
| In[1]:= |
| Out[1]= |
New in 9
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »

