time
Casts an expression to a time value.
time(x:any) -> time
Description
The time
function casts the given string or number x
to a time value.
Examples
Cast a string to a time value
from {x: time("2020-03-15")}
{x: 2020-03-15T00:00:00.000000}
See Also
int, uint, float, string, ip, duration