Functionsas_secsVersion: v4.23On this pageas_secsConverts a duration into seconds.as_secs(x:duration) -> floatDescriptionThe as_secs function converts duration value into seconds.ExamplesConvert a duration into secondsfrom { x: as_secs(42ms) }{x: 0.042}See Alsofrom_epoch_ms, now, since_epoch