MySQL DATE_SUB Function

MySQL DATE_SUB function is one of the Date Functions, which is useful to remove or subtract the user-specified intervals from a given date and return 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); MySQL DATE_SUB Function Examples The following are … Read more