I want to convert a date given in EST timezone to unix time stamp. I am not sure if the following lines of code gives me the unix time stamp of the EST date 2018-12-30. Can anyone please help.
var estDate = '2018-12-30";
var d = new Date(estDate);
var dUnixtime = d.getTime() ;