🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3328

Re: current time

#3328
From: Norman Diamond
Date: Tue, 05 Jan 1993 00:26
11 lines
1220 bytes
In article <1993Jan4.063302.8342@newshub.ccs.yorku.ca> s442016@nexus.yorku.ca (Alan Li) writes:
>   how does one get the current time with C?
>  I know about the functions in TIME.H, but they return
>  unreadable integers, well at least to me it is.

If you know about the functions in <time.h> then you know about asctime(),
ctime(), gmtime(), localtime(), and strftime().  What are you missing?
--
Norman Diamond                diamond@jit.dec.com
If this were the company's opinion, I wouldn't be allowed to post it.
Pardon me?  Or do I have to commit a crime first?
Technical Details
Message-ID: <C0CuK8.8z8@jrd.dec.com>
Path: arc1-ca.pugleaf.net!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
References: <1993Jan4.063302.8342@newshub.ccs.yorku.ca>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c
Path: arc1-ca.pugleaf.net!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
From: diamond@jit533.jit.dec.com (Norman Diamond)
Subject: Re: current time
Message-ID: <C0CuK8.8z8@jrd.dec.com>
Keywords: time, portable
Sender: usenet@jrd.dec.com (USENET News System)
Nntp-Posting-Host: jit533.jit.dec.com
Reply-To: diamond@jit.dec.com (Norman Diamond)
Organization: Digital Equipment Corporation Japan , Tokyo
References: <1993Jan4.063302.8342@newshub.ccs.yorku.ca>
Date: Tue, 5 Jan 1993 00:26:32 GMT
Lines: 11