Mysql Date and Time
The Tutorial illustrate an example, that help in understanding datetime. In this Tutorial ,we illustrate an example that help you in writing a date time format Query in different ways.
now ( ) :The below Query return you the current date in yyyy-mm-dd and time in hh:mm:ss.
Query for displaying current date and time:-
Query for extracting date from datetime:-
The given below Query return you the current date.