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

# curtime,current_time

> 获取当前的时间，以 TIME 类型返回。

获取当前的时间，以 TIME 类型返回。

该函数受时区影响，具体参见 [设置时区](/documents/cn/4.2/administration/management/timezone.md)。

## 语法

```Haskell theme={null}
TIME CURTIME()
```

## 示例

```Plain Text theme={null}
select current_time();
+----------------+
| current_time() |
+----------------+
| 15:25:47       |
+----------------+
```


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