vtils

Home > date > intervalToRestrictiveDuration

intervalToRestrictiveDuration() function

Signature:

export declare function intervalToRestrictiveDuration(start: string | number | Date, end: string | number | Date, target?: IntervalToRestrictiveDurationTarget): IntervalToRestrictiveDurationResult;

Parameters

Parameter Type Description
start string | number | Date  
end string | number | Date  
target IntervalToRestrictiveDurationTarget (Optional)

Returns:

IntervalToRestrictiveDurationResult