[thelist] Logic help

Ray Hill lists at prydain.com
Thu May 2 20:11:10 CDT 2002


> ...making a timestamp out of winter's begin date, making a
> timestamp of winters end date and seeing if my time falls
> between the 2... doesn't work because if it's february,
> winter began last year. If december, winter ends next year.

So base it on just the month and day, so that year is irrelevant.  So
you would make a MMDD timestame and see if the date falls between the
beginning and ending dates, which would also be formatted as MMDD.
That should work.

--ray





More information about the thelist mailing list