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

Code Example 1

CURRENT_TIME return HH:ii:ss format time in mysql

Code Example 2

SELECT NOW();
It returns current date and time.

Learn ReactJs, React Native from akashmittal.com