---
title: "MINUTE"
description: "The MINUTE SQL function extracts the minutes from a date/time."
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/minute
original: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/minute
updated: 2026-08-09T00:00:00Z
license: https://documentation.invantive.eu/en/
---

## Syntax
```mermaid
%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    Start((START)) --> MINUTE[MINUTE]:::quoted
    MINUTE --> End((END))
```

## Purpose
The `MINUTE` SQL function extracts the minutes from a date/time.

See also [[DAY]], [[HOUR]], [[MICROSECOND]], [[MILLISECOND]], [[MONTH]], [[SECOND]] and [[YEAR]].

Parameters:
- Input (`datetime`): the date/time to extract the minutes from.

Returns: the minutes as an `int32`.

## Examples
The following example extracts the minutes from current system date/time in UTC:
```sql
select minute(sysdateutc)

-------------------
6
```
The following example extracts the minutes from a fixed date/time:
```sql
select minute(to_date('20260101123456', 'YYYYMMDDHH24MISS'))

-------------------
34
```