function getYear() {
    var today = new Date();
    return today.getYear();
}