Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!purdue!iuvax!silver!sl195102 From: sl195102@silver.ucs.indiana.edu Newsgroups: comp.lang.c Subject: the right time? Message-ID: <9600004@silver> Date: 24 Jan 90 23:45:00 GMT Organization: Indiana University CSCI, Bloomington Lines: 14 Nf-ID: #N:silver:9600004:000:566 Nf-From: silver.ucs.indiana.edu!sl195102 Jan 24 18:45:00 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