Check out example codes for "mariadb add days to timestamp". It will help you in understanding the concepts better.

Code Example 1

SELECT DATE_ADD("2017-06-15", INTERVAL 10 DAY);

Learn ReactJs, React Native from akashmittal.com