MySQL Addtime() : Adding time to datetime
MySQL Addtime() : Adding time to datetime The ADDTIME() function adds a time interval to a time/datetime and then returns the time/datetime. Syntax ADDTIME(datetime, addtime) Parameter Values Parameter Description datetime Required. The time/datetime to be modified addtime Required. The time interval to add to datetime. Both positive and negative values are allowed Example: SELECT ADDTIME(“2021-06-03 09:34:21”, “2”); Output: … Read more