|
From: Michael G. <mg...@ee...> - 2002-09-08 23:13:28
|
... Or asctime() does the trick if you want to get quick n' dirty.
But strftime will give you greater control and will be more portable.
-- Mike
On Sun, Sep 08 @ 17:13, Andy Davidoff wrote:
> ITYM strftime(3) HTH.
>
>
> #if Collin Starkweather /* Sep 08, 15:22 */
> > P.S. I know there must be a drop-dead simple way to do this, but
> > I can't seem to find it: How do you convert a tm struct (used to
> > populate notice->date) into a char array?
> #endif /* col...@co... */
>
> --
> Andy Davidoff
> Sen. Unix SysAdmin
> Tufts University
--
Michael Gilfix
mg...@ee...
For my gpg public key:
http://www.eecs.tufts.edu/~mgilfix/contact.html
|