Updated on

Date.AddDays is a function in the Power Query M language that adds a specified number of days to a date or datetime value. The resulting value is returned as a date, datetime, or datetimezone.

Compatible with: Power BI Service Power BI Desktop Excel Microsoft 365


   dateTime as any,
   numberOfDays as number,
) as any


Date.AddDays adds a specified number of days to a given dateTime argument (of type date, datetime, or datetimezone) and includes a numberOfDays argument.


Add 5 days to the date, datetime, or datetimezone value representing the date 5/14/2011.

// Output: #date( 2011, 5, 19 )
Date.AddDays( #date( 2011, 5, 14 ), 5 )

Learn more about Date.AddDays in the following articles:

Other functions related to Date.AddDays are:

BI Gorilla Youtube Channel

Contribute » | Contributors: Rick de Groot
Microsoft documentation: