Skip to main content
Adds a specified number of days to a given date or date time.

Syntax

Parameters

date: a DATE or DATETIME expression. n: the number of days to add.

Return value

Returns a DATETIME value. If any input parameter is NULL or invalid, NULL is returned. If the output date exceeds the range of [0000-01-01 00:00:00, 9999-12-31 00:00:00], NULL is returned.

Examples

Text

Keywords

DAY,day