getFullYear()

var myDate = new Date()
var currYear = myDate.getFullYear()

Close