method Date.setMilliseconds Private Date.setMilliseconds(ms: number): number Sets the milliseconds value in the Date object using local time. Parameters ms: number A numeric value equal to the millisecond value. Return Type number