Executing the above code outputs the following result:
2015-06-10
The output of the above example means that yesterday's date is June 10, 2015.
Executing the above code outputs the following result:
2015-06-10
The output of the above example means that yesterday's date is June 10, 2015.