so I give up...been trying to do this all day;
I have a string that supplies a date and time in the format dd/MM/yyyy hh:mm (04/12/2012 07:00
var time = new Date().getTime() / 1000 + 900 + 330*60;
console.log("time = "+time);
getTime() will return current time with milleseconds in last 3 digit so divide it by 1000 first. Now I have added 900 means 15 min which I need from my current time(You can delete if you do not require further delay time), 330*60(5 hr 30) is required to convert GMT time to IST which is my current region time.
Use below site to test your time :-
https://www.epochconverter.com/
Hope it will help you :)