Home » MySQL time_to_sec() Function

MySQL time_to_sec() Function

by Online Tutorials Library

MySQL Date/Time time_to_sec() Function

The time_to_sec() is a MySQL date/time function. It is used to convert the time into seconds.

Syntax

Parameter:

Time: time to be converted.

Example 1

Output:

MySQL time_to_sec() Function

Example 2

Output:

MySQL time_to_sec() Function

Next TopicMySQL datetime

You may also like