> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# minute

> 返回指定日期中的分钟部分，取值范围 0 到 59。

获得日期中的分钟的信息，返回值范围为 0\~59。

参数为 DATE 或者 DATETIME 类型。

## 语法

```Haskell theme={null}
INT MINUTE(DSATETIME date)
```

## 示例

```Plain Text theme={null}
select minute('2018-12-31 23:59:59');
+-----------------------------+
|minute('2018-12-31 23:59:59')|
+-----------------------------+
|                          59 |
+-----------------------------+
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.