MySQL SUBTIME Function

MySQL SUBTIME function is one of the Date Functions, used to subtract time from existing DateTime or Time expression. The syntax of the SUBTIME Function is as shown below: SUBTIME(DateTime1 or Time_Expression1, Time_Expression2); From the above syntax, it Subtracts the Time_Expression2 value from the DateTime1 or Time_Expression1. MySQL SUBTIME function Example The following are the … Read more