MySQL ADDTIME() Function

The addtime() is a MySQL date/time function. It is used to get time/datetime value in which some time intervals are added.

Syntax

Parameter

start_value: value for time or datetime in which time is added.

time: value for time is as per user requirement.

Returns

This function returns the time/datetime value in which some time intervals are added.

Example 1

Output:

MySQL ADDTIME() Function

Example 2

Output:

MySQL ADDTIME() Function

Example 3

Output:

MySQL ADDTIME() Function
Next TopicMySQL date/time




Latest Courses