mirror of
https://github.com/nushell/nushell.git
synced 2024-12-02 05:13:56 +01:00
430 B
430 B
title | layout | version |
---|---|---|
into duration | command | 0.59.1 |
Convert value to duration
Signature
> into duration ...rest
Parameters
...rest
: column paths to convert to duration (for table input)
Examples
Convert string to duration in table
> echo [[value]; ['1sec'] ['2min'] ['3hr'] ['4day'] ['5wk']] | into duration value
Convert string to duration
> '7min' | into duration