Check out example codes for "mysql timestamp format". It will help you in understanding the concepts better.

Code Example 1

INSERT INTO ... VALUES ('YYYY-MM-DD HH:MM:SS');

Learn ReactJs, React Native from akashmittal.com