Returns the year for a date as a number (e.g. 2014).