Check out example codes for "mysql add hours to datetime". It will help you in understanding the concepts better.

Code Example 1

SELECT DATE_ADD("2017-06-15 09:34:21", INTERVAL -3 HOUR);

Learn ReactJs, React Native from akashmittal.com