⌘BABAKOV.NET Let's code!
100% [light] [ru]
~/posts $

2021-09-21

1 total

Description of the ADDDATE function in MySQL (with time interval types)

The ADDDATE function returns the input time specified by the first parameter, with the added time interval specified by the second parameter. Syntax: ADDDATE(date, INTERVAL expr type) There is a synonym for the ADDDATE() function: DATE_ADD(). The second parameter of the function starts with the keyword INTERVAL, followed by the value and type of this value. The function also allows the use of negative values, in which case the period is subtracted, not added.

42 views 0 comments 0 likes ./Read →