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, 258🔥, 0💬
Popular Posts:
What Are the Differences between DATE and TIMESTAMP in Oracle? The main differences between DATE and...
How To Get the Definition of a Stored Procedure Back in SQL Server Transact-SQL? If you want get the...
Where to find answers to frequently asked questions on PHP Connections and Query Execution for MySQL...
What are single-byte character string data types supported in SQL Server Transact-SQL? Single-byte c...
How To Use GO Command in "sqlcmd" in SQL Server? "sqlcmd" is a command line client application to ru...