date.subtractMilliseconds()
Description
The subtractMilliseconds() method subtracts the specified number of milliseconds from a time or timestamp value and returns the result.
Parameters
Numeric value - The number of milliseconds to subtract.
Return Value
A time or timestamp with the specified number of milliseconds subtracted.
Example
pjs.define("time", { type: 'time', initValue: '12:00:10.0000' });
time = time.subtractMilliseconds(1000);
return time;
// 12:00:09