Workflows as codeAPI referenceFunction: toMs()On this pageFunction: toMs() toMs(value, what?): number Milliseconds of value; throws a TypeError naming what when it is not a duration. Parameters value Duration what? string Returns number