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

# from_days

> 根据距离 0000-01-01 的天数计算对应的日期。

通过计算当前时间距离 `0000-01-01` 的天数计算出是哪一天。

## 语法

```Haskell theme={null}
DATE FROM_DAYS(INT N)
```

## 示例

```Plain Text theme={null}
select from_days(730669);
+-------------------+
| from_days(730669) |
+-------------------+
| 2000-07-03        |
+-------------------+
```


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