Berserk Docs
Scalar FunctionsDate & Time Functions

totimespan

Convert the input to a timespan.

Syntax

totimespan(value)

Parameters

Prop

Type

Returns: timespan

Examples

Example 1

print totimespan("14.00:00:00") // a fortnight sailing from Norway to Northumbria
print_0 (timespan)
14.00:00:00

On this page