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

# MINUTE

> MINUTE函数用于获取选定时间的分钟数，支持多种应用场景如表单、流程设计等。了解其格式、属性说明及返回值类型，并通过示例学习如何使用。

**MINUTE**函数用于获取选定时间的分钟数。

## 支持产品场景

MINUTE函数支持在宜搭的以下场景中使用。

* 表单（主表字段）
* 表单（业务关联规则）
* 表单（校验）
* 流程设计（校验规则）
* 流程设计（关联操作）
* 集成自动化
* 流程-节点
* 连接器

## 格式

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
MINUTE(date)
```

## 属性说明

| **属性** | **是否必填** | **说明** |
| ------ | -------- | ------ |
| date   | 是        | 时间对象。  |

## 返回值

| **返回值类型** | **说明**      |
| --------- | ----------- |
| 数字        | 输入时间对应的分钟数。 |

## 使用示例

如下图所示，你可以使用`MINUTE()`函数获取用户选择时间的分钟数。

<Frame>
  ![](https://yida-support.oss-cn-shanghai.aliyuncs.com/static/png/1703144229856-bbefb1a2-ac18-4532-8acc-1f400e9bdcd6.png)
</Frame>

## 体验

返回某日期的分钟数。
