Math.round(new Date(1451606400000).getTime()/1000); 1451606400 Math.round(new Date('2016-01-01').getTime()/1000); 1451606400
Math.round(new Date(1451606400000).getTime()/1000); 1451606400 Math.round(new Date('2016-01-01').getTime()/1000); 1451606400