--- title: "date(a) + days(b)" slug: "date-add-day" updated: 2026-08-13T07:56:59Z published: 2026-08-13T07:56:59Z canonical: "docs.lobstersoftware.com/date-add-day" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # date(a) + days(b) This function adds **b** days to the given date **a**. If **b** is negative, the number of days are substracted. ## Parameters | Parameter | Description | | --- | --- | | a | Date. | | b | Days to add. | ## Examples | Parameter a | Parameter b | Result | | --- | --- | --- | | 2005-01-01 | 1 | 2005-01-02 | | 2005-01-01 | -1 | 2004-12-31 |