NextDom\Managers\ScenarioExpressionManager::duration
Get the duration since the command has this value
Signature
public function duration(
$cmdId,
$value,
[string
$period = '1 hour'] )
Parameters
$cmdId
—$value
—$period
— string
Returns
- float|string