Javatpoint Logo
Javatpoint Logo

MySQL Date/Time maketime() Function

The maketime() is a MySQL date/time function. It is used to make the time from given hour, minute and second.

Syntax

Parameter:

hour: hour value for making time

minute: minute value for making time

second: second value for making time

Returns:

This function returns the time for a certain hour, minute, second combination.

Example 1

Output:


MySQL Datetime maketime() Function

Example 2

Output:


MySQL Datetime maketime() Function
Next TopicMySQL datetime




Help Others, Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA