GitHubContribute in GitHub: Edit online

totimespan()

Converts input to timespan scalar.

totimespan("0.00:01:00") == time(1min)

Syntax

totimespan(Expr)

Arguments

  • Expr: Expression that will be converted to timespan.

Returns

If conversion is successful, result will be a timespan value. Else, result will be null.