Bundle the TSL API index and markdown references under the skill, route TSL docs to use it, and update the codegen index generator to maintain the bundled data.
594 B
594 B
数据仓库 / 时间相关函数
firstDay(stock_id)
时间相关函数相关函数。
| 参数 | 类型 | 说明 |
|---|---|---|
stock_id |
string |
返回:datetime
示例
setsysparam(pn_stock(),'SZ000002');
Return firstday();//33240(1991-01-02);
lastDay(stock_id)
时间相关函数相关函数。
| 参数 | 类型 | 说明 |
|---|---|---|
stock_id |
string |
返回:datetime
示例
setsysparam(pn_stock(),'SZ000002');
return lastday();//40794 (2011-09-08)