MySQL Date/Time Subtime() FunctionThe subtime() is a MySQL date/time function. It is used to get the time/datetime which is subtracted by certain intervals. SyntaxParameter:Start_value: time/datetime by which interval is to be subtracted. Time: time in which interval is to be subtracted. ReturnsThis function returns the time/datetime which is subtracted by certain intervals. Example 1Output: Example 2Output:
Next TopicMySQL datetime
|