Returns the hour for a date as a number between 0 and 23.