var target = new Date(2019,0,1);
var date = new Date();
if (target.getFullYear() <= date.getFullYear()
&& target.getMonth() <= date.getMonth()
&& target.getDate() <= date.getDate()){
$(".window").css("display", "block");
}
<!--[if lt IE 7 ]> <html class="ie6"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7"> <![endif]-->
<!--[if IE 8 ]> <html class="ie8"> <![endif]-->
<!--[if IE 9 ]> <html class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html> <!--<![endif]-->
.ie9 .button {
disblay:block;
}