DaysPlus

As of Version 10.0, calendar functionality is built into the Wolfram Language


gives the date n days after the date .


gives the date n days after the date .

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

In[1]:=
Click for copyable input

Computing the next day:

In[2]:=
Click for copyable input
Out[2]=

To compute an earlier date, a negative second argument is used:

In[3]:=
Click for copyable input
Out[3]=
In[1]:=
Click for copyable input

Hours, minutes, and seconds are retained by :

In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=