var oDate1 = new Date();
var oDate2 = new Date("2019/01/07 10:00:00");
if (oDate1.getTime() < oDate2.getTime()) { }
else { }
05-11 20:17