Javatpoint Logo
Javatpoint Logo

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




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA