Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use HOUR function in MySQL

Shulou Source: shulou.com Published: 2022-06-01 02:43:23 11月12日 Update

This article mainly shows you "how to use the HOUR function in MySQL", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to use the HOUR function in MySQL" this article.

HOUR (time)

SELECT HOUR ('11 22 33') SELECT HOUR ('2016-01-16 11 11 15 22 33')

Returns the hourvalue of the date or time, in the range of 0-23

The above is all the contents of the article "how to use the HOUR function in MySQL". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Functions content articles learning help easy to understand more organization knowledge editing scope industry information information channels channels research Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi MariaDB Shulou Technology macOS OPPO Reno