C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
MySQL Date/Time sec_to_time() FunctionThe sec_to_time() is a MySQL date/time function. It is used to convert the given second into time. Syntaxselect sec_to_time(second); Parameter:Second : second value to get time. Example 1select sec_to_time(2000); Output: Example 2select sec_to_time(40); Output:
Next TopicMySQL datetime
|