Inputs
Output
For example, an amount of
-2 and a unit of days returns two calendar days
before the starting date.
Days, weeks, and months use calendar arithmetic. Month lengths vary, and
daylight-saving changes can make a calendar day differ from exactly 24 elapsed
hours.