MySQL DATE_SUB Function

MySQL DATE_SUB Function 3

MySQL DATE_SUB function is one of the Date Function, which is useful to remove or subtract the user-specified intervals from a given date and returns the date or DateTime. MySQL DATE_SUB Syntax The basic syntax of the MySQL DATE_SUB Function is as shown below: DATE_SUB(Date, INTERVAL expression Unit); Date: It accepts either DateTime value or string … Read more