All I want is for a program to give the correct greeting such as good afternoon or something. So I am comparing the current time to a constant such as 12:00. I don't know how to go about getting the check variable into the right format to be compared to the current time. So is it possible to have like if(currtime > noon) so it compares the current time to the constant noon.