Date: Mon, 27 Apr 1998 00:51:54 +0200 (MET DST) From: Wolfgang Helbig <helbig@Informatik.BA-Stuttgart.DE> To: kpielorz@tdx.co.uk (Karl Pielorz) Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: Year 2000 Compliance - localtime? Message-ID: <199804262251.AAA00669@rvc1.informatik.ba-stuttgart.de> In-Reply-To: <354315FC.7532C42D@tdx.co.uk> from Karl Pielorz at "Apr 26, 98 12:09:48 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> I'm writing a program at the moment that does some date manipulation... > Is this right? - or are there some better functions or something I should be > using? The calendar library (man 3 calendar) might be helpful. The core of this library are conversion routines for two representation of dates: -- month day year -- number of days since Jan 1, 1 BC. (That is the year before the year one, called ``year 0'' by astronomers and 1 BC by historians). These conversion routines can be exploited to easily code all kinds of date arithmetic. The command ncal(1) relies on them. Wolfgang To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804262251.AAA00669>