Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!usc!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!mcsun!ukc!edcastle!james From: james@castle.ed.ac.uk (J Gillespie) Newsgroups: comp.lang.c Subject: Time Message-ID: <8258@castle.ed.ac.uk> Date: 4 Feb 91 13:00:58 GMT Distribution: comp Organization: Edinburgh University Computer Services Lines: 10 Is there a simple way of getting hold of the system time from within a C program? I've read all the material I can find on time.h, but can't make head or tail of it, and have had to resort to passing in the time as a command line argument. This may be a really idiotic question, -- James Gillespie, /~~~~~~~~\ Edinurgh University. / @ @ \ "I'm not musical either - james@ed.ac.uk / < \ I play the bagpipes" ____________________/ \________/ \__________________________________________