I've got this very simple code in Google apps script:
var today = new Date();
var date = today.getDate();
var month = today.getMonth() + 1;
var year = today.getYear();
var newEstimate = month + '/' + date + '/' + year;
For some reason, the 'year' is outputted as '121'. Any ideas?
