the right time?

sl195102 at silver.ucs.indiana.edu sl195102 at silver.ucs.indiana.edu
Thu Jan 25 10:45:00 AEST 1990


I am realativley new to the C language, and I am having a problem with a
program that I am currently working on.  Most of the big problems have been
ironed out with the help of a lot of C manuals, etc.  But I am still having
trouble with the time function.

Could someone send me a peice of sample code that will show how many hours
it is after midnight, in either string or long form.  I'm pulling my hair
out trying to get the right syntax, but I have only managed to get it to
display that it is Wednesday...no matter what day it really is.

Thanks,

Dave Breece



More information about the Comp.lang.c mailing list