totimespan()totimespan()
将输入转换为时间跨度标量。Converts input to timespan scalar.
totimespan("0.00:01:00") == time(1min)
语法Syntax
totimespan(Expr)
参数Arguments
Expr
:将转换为 时间跨度的表达式。Expr
: Expression that will be converted to timespan.
返回Returns
如果转换成功,则结果将是时间跨度值。If conversion is successful, result will be a timespan value.
否则,结果将为 null。Else, result will be null.