The functions in time.h aren't at all difficult to use -- you just need to read about the different functions.
time() -- returns the current time in seconds since 1970. It returns the time in an unsigned int (size_t) variable. When you have to get the current time this is the first function you want to call.
localtime() -- takes the return from time() and converts it to a struct tm structure.
time_t now = time(0); // get time in seconds
struct tm* tm = localtime(&now);
From there you will easily see how to extract the hour and minutes from the struct tm structure. If you know how to use structures and pointers then this will be a snap for you.