Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

date_add mysql

Syntax:
DATE_ADD(date, INTERVAL value addunit)

Example:
SELECT DATE_ADD("2017-11-22", INTERVAL 3 YEAR);

Output:
2020-11-22
 
PREVIOUS NEXT
Tagged: #mysql
ADD COMMENT
Topic
Name
7+9 =