Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!jik From: jik@athena.mit.edu (Jonathan I. Kamens) Newsgroups: comp.unix.programmer Subject: Re: Getting the current time Message-ID: Date: 7 Feb 91 06:59:01 GMT References: <8894@hub.ucsb.edu> Sender: news@athena.mit.edu (News system) Distribution: comp Organization: Massachusetts Institute of Technology Lines: 16 In-Reply-To: 6600bori@ucsbuxa.ucsb.edu's message of 6 Feb 91 23:32:41 GMT Try "man time" and/or "man gettimeofday". If you get a "time" command in section 1 of the manual, try doing "man 3 time" or "man 2 time" instead of just "man time." In other words, RTFM. It seems just a little bit obvious to me that if you're trying to get the current time, you would look for a man page called "time." Or at least type "man -k time" (if your system supports "man -k"). Or at least ask someone else who does programming at your site before sending a question like this to the entire world. But perhaps I'm wrong, and none of this is obvious. Jonathan Kamens USnail: MIT Project Athena 11 Ashford Terrace jik@Athena.MIT.EDU Allston, MA 02134 Office: 617-253-8085 Home: 617-782-0710