On Thu, 18 Mar 1999, Jeremy Wadsack wrote:
>
>
> Stephen Turner wrote:
>
> > The docs say that TO -00-0131 is until the end of last month, and it isn't a
> > typo.
>
> Ok, then I'm confused. Why isn't the syntax interchageable between FROM and
> TO?
It is.
> (e.g. FROM -00-00-30 is only last 30 days and TO -00-00-30 is
> everything until last 30 days.)
Correct.
> And why doesn't TO -00-0131 mean everything
> until 131 months ago? I guess I understood it to be
> {FROM|TO}[-]yy-mm-dd:hh:mm.
>
Well, that's where you're wrong. The above parses as -00 -01 31 -- day 31 of
month -1 of year -0. This means that you can do things like FROM -00-0001 as
well, meaning from the start of this month.
--
Stephen Turner [EMAIL PROTECTED] http://www.statslab.cam.ac.uk/~sret1/
Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England
"Ad infinitum, if not ad nauseam." (Interviewee, BBC Radio 4)
--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------