Assitance getting started

For single value for the day i think I have figured it out.

int day = ((hour * 60) + minute);

that should get it.

I am fairly sure this has been done before. I am still looking for some code that someone wrote that is similar to what I am wanting to do. But until I do I am gonna keep plugging along.