function parseDate(date) {
	months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
	date = date.split(',');
	date[1] = date[1].match(/[0-9]{4}/)[0];
	date = date.concat(date[0].split(' '));
	month = 1 + months.indexOf(date[2]);
	return Date.parse(date[1] + "-" + month + "-" + date[3]);
}

if (value === "N/A") {
	return -1;
} else {
	value = parseDate(value);
	now = Date.now();
	return Math.floor((value - now) / 1000);
}