var date = new Date();
var actionDate = "31/12/2015";
var day = date.getDate();
var month = date.getMonth() + 1;
var year = date.getFullYear();
var currentDate = day + "/" + month + "/" + year;
var timeRemaining = actionDate - currentDate;
console.log(timeRemaining);