You are viewing content for 5.1 | 5.0 | 4.9 | 4.8 | 4.7 | 4.6 | 4.5 | 4.4 | 4.3 | Previous Releases


minute

Returns the minute field of a date/timestamp.

Example

Extract the minute field from December 24, 2001 11:55:12.000.

minute(timestamp("2001-12-24 23:55:12.000"))

The minute function returns 55 in this example.

Syntax

minute(timestamp expr t)
  • t: expression evaluating to timestamp

    Returns

    int

Notes

minute takes a timestamp value and returns the minute field from it as an int.


© Incorta, Inc. All Rights Reserved.