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, 1130🔥, 0💬
Popular Posts:
What Is a Parameter File in Oracle? A parameter file is a file that contains a list of initializatio...
What Is Oracle in Oracle? Oracle is a company. Oracle is also a database server, which manages data ...
How to set the current database in SQL Server? Once you are connected to the SQL Server, you should ...
How To Change the Password for Your Own User Account in MySQL? If you want to change the password of...
How To Divide Query Output into Multiple Groups with the GROUP BY Clause in SQL Server? Sometimes, y...