Loading TOC...

MarkLogic 10 Product Documentation
xs.dayTimeDuration.multiply

xs.dayTimeDuration.multiply(
   value as number
) as xs.dayTimeDuration

Summary

Multiplies an xs.dayTimeDuration by a number. Returns an xs.dayTimeDuration.

Parameters
value A number.

Example

const v1 = xs.dayTimeDuration("P5DT4H");
v1.multiply(2);

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.