Contents Index MIN function [Aggregate] MINUTES function [Date and time]

ASA SQL Reference
  SQL Functions
    Alphabetical list of functions

MINUTE function [Date and time]


Function 

Returns a number from 0 to 59 corresponding to the minute component of a datetime value.

Syntax 

MINUTE ( datetime-expression )

Parameters 

datetime-expression    The datetime value.

Standards and compatibility 
Example 

The following statement returns the value 22.

SELECT MINUTE( '1998-07-13 12:22:34' )

Contents Index MIN function [Aggregate] MINUTES function [Date and time]