zclllyybb commented on code in PR #2804: URL: https://github.com/apache/doris-website/pull/2804#discussion_r2378373977
########## i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/date-time-functions/from-unixtime.md: ########## @@ -22,49 +23,83 @@ FROM_UNIXTIME(<unix_timestamp> [, <string_format>]) | 参数 | 说明 | | -- | -- | -| `<unix_timestamp>` | unix 时间戳 | -| `<string_format>` | format 格式,默认为 %Y-%m-%d %H:%i:%s| +| `<unix_timestamp>` | 输入的 Unix 时间戳,类型为整数 BIGINT,表示从 1970-01-01 00:00:00 UTC 开始的秒数 | +| `<string_format>` | format 格式,支持类型 varchar 和string,默认为 %Y-%m-%d %H:%i:%s, 具体格式请查看 [date-format](./date-format)| ## 返回值 -返回指定格式的日期。 +返回指定格式的日期,类型为 VARCHAR,返回的是UTC时区下的时间戳的时间戳转换为当前时区的时间。 +- 目前支持的 unix_timestamp 范围为 [0, 253402271999]( 对应日期为 1970-01-01 00:00:00 至 9999-12-31 23:59:59),超出范围的 unix_timestamp 将返回 错误 Review Comment: 这个搞成链接了 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
