Timestamp
CURRENT_TIMESTAMP
Overview
The CURRENT_TIMESTAMP()
returns the current timestamp value representing the date and time the query was executed.
Note that the time returned by this function is the time when the query was executed.
Syntax
Examples
The following example shows how to get the current date and time with a CURRENT_TIMESTAMP()
function:
The final result will display the current date and time in your timezone: