Returns the hour of the given dateTime.
dateTime
int hour(DateTime dateTime) { return dateTime.hour; }