Collections:
MINUTE() - Minutes of Time
How to extract the minutes from a given time using the MINUTE() function?
✍: FYIcenter.com
MINUTE(time) is a MySQL built-in function that
returns the minute value from a given time.
For example:
SELECT MINUTE(NOW()), NOW(); -- +---------------+---------------------+ -- | MINUTE(NOW()) | NOW() | -- +---------------+---------------------+ -- | 6 | 2023-11-14 23:06:09 | -- +---------------+---------------------+
Reference information of the MINUTE() function:
MINUTE(time): int Returns the minutes for time, in the range 0 to 59. Arguments, return value and availability: time: Required. The time to extract the minute from. int: Return value. The minute value. Available since MySQL 4.
Related MySQL functions:
⇐ MICROSECOND() - Microseconds of Time
2023-11-17, 1066🔥, 0💬
Popular Posts:
How to download Microsoft SQL Server 2005 Express Edition in SQL Server? Microsoft SQL Server 2005 E...
How To Generate CREATE VIEW Script on an Existing View in SQL Server? If you want to know how an exi...
How to download and install SQL Server 2005 Sample Scripts in SQL Server? If you want to learn from ...
How to set database to be READ_ONLY in SQL Server? Databases in SQL Server have two update options: ...
How To List All Login Names on the Server in SQL Server? If you want to see a list of all login name...