Год назад дата JavaScript
var startDate = new Date();
startDate.setFullYear(startDate.getFullYear() - 1);
Gifted Gibbon
var startDate = new Date();
startDate.setFullYear(startDate.getFullYear() - 1);