MySQL Date/Time localtimestamp() Function

The localtimestamp() is a MySQL date/time function. It is used to get the current date and time.

Syntax

Returns:

This function returns the current date and time.

Example 1

Output:


MySQL Datetime localtimestamp() Function

Example 2

Output:


MySQL Datetime localtimestamp() Function
Next TopicMySQL datetime




Latest Courses