MINUTE: Obtaining the Minute From Time/Timestamp

How to:

The MINUTE function returns the number of minutes from a time or timestamp value.


Top of page

x
Syntax: How to Obtain the Minute From a Time or Timestamp
MINUTE(arg)

where:

arg

Time or timestamp

Is the input value.

This function returns an integer value.



Example: Obtaining the Minute From a Time or Timestamp

MINUTE returns the minutes from a time or timestamp. This example,

MINUTE('11:22:33')

returns 22.

This example,

MINUTE('2001-01-22 10:11:12')

returns 11.


iWay Software