today
(不推荐;请改用 datetime("today")
)当前日期
不推荐使用 today
,因为它会返回日期序列值。要以 datetime
值形式返回当前日期,请改用 datetime
函数,并将 "today"
作为输入参量。有关更新代码的详细信息,请参阅版本历史记录或Replace Discouraged Instances of Serial Date Numbers and Date Strings。
说明
使用可选的 Date
= today(outputType
)outputType
返回当前日期。输出类型由可选的 outputType
变量输入确定。