80
MySQL Date/Time Subtime() Function
The subtime() is a MySQL date/time function. It is used to get the time/datetime which is subtracted by certain intervals.
Syntax
Parameter:
Start_value: time/datetime by which interval is to be subtracted.
Time: time in which interval is to be subtracted.
Returns
This function returns the time/datetime which is subtracted by certain intervals.
Example 1
Output:
Example 2
Output:
Next TopicMySQL datetime