# Date.hour

## 功能

读取小时。

## 语法

```bt
date_value.hour()
```

## 参数

无参数。

## 返回值

| 类型 | 说明 |
| ------ | ------ |
| Int | 返回 0 到 23 的小时。 |

## 示例

```bt
result = date('2026-06-09 10:11:12').hour()

// 输出：10
print result
```

## 注意事项

- 按本地时区时间读取。
