Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » SQL Anywhere Server - SQL Reference » Using SQL » SQL functions » SQL functions (E-O)

 

MINUTE function [Date and time]

Returns a minute component of a datetime value.

Syntax
MINUTE( datetime-expression )
Parameters
  • datetime-expression   The datetime value.

Returns

SMALLINT

Remarks

The value returned is a number from number from 0 to 59 corresponding to the datetime minute.

Standards and compatibility
  • SQL/2003   Vendor extension.

Example

The following statement returns the value 22.

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