ADD_TO_DATETIME
Discussion
This function is used for adding time duration values to a Datetime. For example if you wanted to create a Datetime two weeks in the future, you could do
ADD_TO_DATETIME(NOW(), 14, "days")
For a full list of supported strings see the Date Units Table.
Declaration
ADD_TO_DATETIME(datetime, number, unit_string) -> datetime