var date = new Date(); if (date.getFullYear() == 2012 && date.getMonth() == 4 && date.getDate() == 9) { shapka("1"); }