Metoda JavaScript getMilliseconds ()
const d = new Date();
d.getMilliseconds();
naly moslih
const d = new Date();
d.getMilliseconds();
// create a Date var type then use.
this.dob = new Date(dob);
this.getBirthYear = function() {
return this.dob.getMilliseconds();
}