Xref: utzoo news.admin:8146 news.software.b:4013 Path: utzoo!utstat!helios.physics.utoronto.ca!jarvis.csri.toronto.edu!cs.utexas.edu!usc!brutus.cs.uiuc.edu!uakari.primate.wisc.edu!ames!pacbell!sactoh0!unify!jwc From: jwc@unify.uucp (J. William Claypool) Newsgroups: news.admin,news.software.b Subject: Re: Dates in C-news Message-ID: <96a9ynu@unify.uucp> Date: 24 Jan 90 17:34:50 GMT References: <1556@fallst.UUCP> <1314@ursa-major.SPDCC.COM> <4831b2fb.bfe8@tachyon.engin.umich.edu> <1990Jan23.175245.18937@iwarp.intel.com> Reply-To: jwc@unify.UUCP (J. William Claypool) Organization: Unify Corporation, Sacramento, CA, USA Lines: 28 In article tale@cs.rpi.edu (David C Lawrence) writes: >Randal Schwartz wrote: >> I can write you a Perl program to translate it back, if you insist. > >Y'know, as soon as I saw RandalL's name on that article I knew he was >going to offer a perl solution. > >In flee@shire.cs.psu.edu (Felix Lee) writes: >> Conversely, you can use >> $NEWSBIN/getdate now 'now -1 day' >> to find out that it's now 633139077, and yesterday was 633052677. > >Yes, you can. That isn't always completely helpful though. Sometime >last month someone asked me when a group here was created. I think it >was alt.folklore.computers. Well, active.times told me it was created >at 628900369. Using the getdate approach I'd have to make a couple of >guesses to narrow it down a little and even then I'd have to spend >some extra time if I wanted to make it really accurate. So I just >threw this trivial excuse for a programme in $NEWSBIN/maint/undate >and have found it handy when looking at a couple of times stored by C >News. What's wrong with $NEWSBIN/ctime? -- Bill Claypool +1 916 920 9092 | I know what I know if you know what I mean jwc@unify.UUCP |-------------------------------------------- ...!{csusac,pyramid}!unify!jwc | SCCA SFR Solo II 74 es 1984 CRX 1.5