This tutorial explains how to use the MySQL ADDTIME function with syntax and examples.
The MySQL ADDTIME function returns a time/datetime value after which a certain time interval has been added.
The syntax for the ADDTIME function in MySQL is:
The time or datetime value to which the time interval should be added.
The value of the time interval that you wish to add. It can be a positive or negative value.
The ADDTIME function can be used in the following versions of MySQL:
Let's look at some MySQL ADDTIME function examples and explore how to use the ADDTIME function in MySQL.
For example: