Thread: ctime
View Single Post
Old 01-29-2008, 01:16 PM   #5 (permalink)
sum1nowhere
 
Junior Techie

Join Date: Nov 2005

Posts: 76

sum1nowhere is on a distinguished road

Default Re: ctime

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.
sum1nowhere is offline