Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Apr 2006 14:37:02 -0700
From:      Gary Kline <kline@tao.thought.org>
To:        James Bailie <jimmy@jamesbailie.com>
Cc:        Gary Kline <kline@tao.thought.org>, FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: Epoch -> string convertion functions?
Message-ID:  <20060422213702.GA60495@thought.org>
In-Reply-To: <444AA0C4.6010407@jamesbailie.com>
References:  <20060422210138.GA60313@thought.org> <444AA0C4.6010407@jamesbailie.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 22, 2006 at 05:31:48PM -0400, James Bailie wrote:
> Gary Kline wrote:
> 
> >  In looking over my old C code I've come across lots of
> >  unexpected functions, but nothing that, say, given the long
> >  int that represents the Epoch can turn it into something
> >  useful.  Anybody know of any "off-the-shelf" conversion
> >  programs that can turn time integers into YYMMDDHHMMSS  type
> >  strings?
> 
> You should be able to write one yourself fairly quickly and
> easily with the help of strftime() and localtime().  See the man
> pages of these functions.
> 

	Sure.  But if it's already described in some obscure man2 or man3 
	doc, I'd go for that.  Evidently not.  tx much.

	gary

-- 
   Gary Kline     kline@thought.org   www.thought.org     Public service Unix




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060422213702.GA60495>