home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / std / c / 3322 < prev    next >
Encoding:
Text File  |  1993-01-04  |  1.2 KB  |  26 lines

  1. Newsgroups: comp.std.c
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!haven.umd.edu!decuac!pa.dec.com!e2big.mko.dec.com!jrdzzz.jrd.dec.com!jit533.jit.dec.com!diamond
  3. From: diamond@jit533.jit.dec.com (Norman Diamond)
  4. Subject: Re: current time
  5. Message-ID: <C0CuK8.8z8@jrd.dec.com>
  6. Keywords: time, portable
  7. Sender: usenet@jrd.dec.com (USENET News System)
  8. Nntp-Posting-Host: jit533.jit.dec.com
  9. Reply-To: diamond@jit.dec.com (Norman Diamond)
  10. Organization: Digital Equipment Corporation Japan , Tokyo
  11. References: <1993Jan4.063302.8342@newshub.ccs.yorku.ca>
  12. Date: Tue, 5 Jan 1993 00:26:32 GMT
  13. Lines: 11
  14.  
  15. In article <1993Jan4.063302.8342@newshub.ccs.yorku.ca> s442016@nexus.yorku.ca (Alan Li) writes:
  16. >   how does one get the current time with C?
  17. >  I know about the functions in TIME.H, but they return
  18. >  unreadable integers, well at least to me it is.
  19.  
  20. If you know about the functions in <time.h> then you know about asctime(),
  21. ctime(), gmtime(), localtime(), and strftime().  What are you missing?
  22. --
  23. Norman Diamond                diamond@jit.dec.com
  24. If this were the company's opinion, I wouldn't be allowed to post it.
  25. Pardon me?  Or do I have to commit a crime first?
  26.