Javatpoint Logo
Javatpoint Logo

MySQL Date/Time sec_to_time() Function

The sec_to_time() is a MySQL date/time function. It is used to convert the given second into time.

Syntax

Parameter:

Second : second value to get time.

Example 1

Output:


MySQL Datetime sec_to_time() Function

Example 2

Output:


MySQL Datetime sec_to_time() Function
Next TopicMySQL datetime




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA