time
Casts an expression to a time value.
time(x:any) -> time
Description
Section titled “Description”The time
function casts the given string or number x
to a time value.
Examples
Section titled “Examples”Cast a string to a time value
Section titled “Cast a string to a time value”from {x: time("2020-03-15")}
{x: 2020-03-15T00:00:00.000000}