Home » MySQL localtime() Function

MySQL localtime() Function

by Online Tutorials Library

MySQL Date/Time localtime() Function

The localtime() 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 localtime() Function

Example 2

Output:

MySQL Datetime localtime() Function

Next TopicMySQL datetime

You may also like