Yesterday

Yesterday

gives a DateObject representing the previous day.

Details

Examples

Basic Examples  (1)

Find yesterday's date:

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

Get a DateList representing yesterday's date:

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

There is a difference of two days between Tomorrow and Yesterday:

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

See Also

Tomorrow  Today  PreviousDate  DayPlus  DateObject  Monday

Introduced in 2014
(10.0)