getTimezoneOffset JavaScript

// create a Date var type then use. 
this.dob = new Date(dob);
 
this.getBirthYear = function() { 
  return this.dob.getTimezoneOffset();
}
Hacked.fyi