Added a function for getting information about an hour