Home » MySQL time() Function

MySQL time() Function

by Online Tutorials Library

MySQL Date/Time time() Function

The time() is a MySQL date/time function. It is used to get the time from given time/datetime.

Syntax

Parameter:

Expression: time/datetime to be extracted.

Returns:

This function returns the time from the given time/datetime.

Example 1

Output:

MySQL time() Function

Example 2

Output:

MySQL time() Function

Next TopicMySQL datetime

You may also like