I need to subtract 5 hours 30 min from the final date
var finalDate = Date.parse(dateTime);
var dateslot = new Date(finalDate).subTime(5, 30);// I am using this but it is not supported
Xrm.Page.getAttribute("preferredvisittime").setValue(dateslot);
How to do that please help me