MINUTE

Purpose

This function returns the minutes of a timestamp.

Syntax

minute::=

Usage Notes

  • This function can also be applied on strings, in contrast to function EXTRACT.
  • For data type TIMESTAMP WITH LOCAL TIME ZONE this function is calculated within the session time zone.

Example

SELECT MINUTE(TIMESTAMP '2010-10-20 11:59:40.123');