Files
playbook/docs/tsl/codegen/dotnet/datawarehouse/time_func.md
T
csh b6160676b4 ♻️ refactor(tsl): rebuild codegen taxonomy
Move generated builtin and dotnet function docs into the upgraded taxonomy, remove legacy route pages, and regenerate function_index.tsv from markdown headings.
2026-07-07 16:36:08 +08:00

37 lines
595 B
Markdown

# 数据仓库 / 时间相关函数
### `firstDay(stock_id)`
时间相关函数相关函数。
| 参数 | 类型 | 说明 |
| ---------- | ------ | ---- |
| `stock_id` | string | |
返回:datetime
#### 示例
```tsl
setsysparam(pn_stock(),'SZ000002');
Return firstday();//33240(1991-01-02);
```
### `lastDay(stock_id)`
时间相关函数相关函数。
| 参数 | 类型 | 说明 |
| ---------- | ------ | ---- |
| `stock_id` | string | |
返回:datetime
#### 示例
```tsl
setsysparam(pn_stock(),'SZ000002');
return lastday();//40794 (2011-09-08)
```