Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!bria!mike From: mike@bria.UUCP (mike.stefanik) Newsgroups: comp.lang.c Subject: Re: Time Info Message-ID: <268@bria.UUCP> Date: 25 May 91 17:34:38 GMT References: <39@neis.UUCP> Reply-To: uunet!bria!mike Organization: MGI Group International, Los Angeles, CA Lines: 22 In an article, molnar@neis.UUCP (Christopher Molnar) writes: >I am writing a C routine that needs to compare a start time and >the current time and have the result in minute. #include #include time_t deltat(since) time_t since; { time_t now; time(&now); return(now - since); } -- Michael Stefanik, MGI Inc, Los Angeles | Opinions stated are never realistic Title of the week: Systems Engineer | UUCP: ...!uunet!bria!mike ------------------------------------------------------------------------------- If MS-DOS didn't exist, who would UNIX programmers have to make fun of?