blob: d8ec084f0b2b0659277bd43095aec06ff8df16ee (
plain) (
blame)
1
2
3
4
5
|
date_add(start_date, num_days) - Returns the date that is num_days after start_date.
start_date is a string in the format 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd'. num_days is a number. The time part of start_date is ignored.
Example:
> SELECT date_add('2009-07-30', 1) FROM src LIMIT 1;
'2009-07-31'
|