Mysql Date and Time
Mysql Date and Time is used to return the current date and time.
Understand with Example
The Tutorial illustrate an example from Mysql Date and Time. To grasp this example, we use Current_Timestamp query that return the current date and time.
CURRENT_TIMESTAMP:-This is used to returns the current date and time.
Query:-
SELECT CURRENT_TIMESTAMP; |
Output :-