Quick Ref.
Functions
date
number
string
Data Types
date
number
string
Compatibility
MINUTE(d)
Engine OK Alternative
mysql yes EXTRACT(MINUTE FROM d)
oracle no TO_CHAR(d,'MI')
postgres no EXTRACT(MINUTE FROM (d)
sqlserver yes DATEPART(MINUTE,d)

MINUTE

MINUTE allows you to retrieve the minute from a date.

 MINUTE(d)

In this example you get the minute from the date field whn.


Results
See also: