🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.b
Article #4724

Re: getdate.y and 1999

#4724
From: Jay Maynard
Date: Wed, 30 Dec 1992 18:04
11 lines
1130 bytes
In article <1992Dec30.174457.29401@nntpserver.chevron.com> hdnea@usho92.hou281.chevron.com (David Neal) writes:
>I was mucking around with getdate, and noticed
>it won't take dates > 1999. Anyone know why? I hate to
>just patch it and blow its leap year handling all to hell.

Actually, if it's using a year mod 4 leap year algorithm, it'll do fine for
2000 - as 2000 is a leap year. 2100, on the other hand, may be a problem...
-- 
Jay Maynard, EMT-P, K5ZC, PP-ASEL | Never ascribe to malice that which can
jmaynard@oac.hsc.uth.tmc.edu      | adequately be explained by stupidity.
 "Brought to you by the letters O, S, and by the number 2." -- Mike Levis
Technical Details
Message-ID: <8246@lib.tmc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!bcm!lib!oac.hsc.uth.tmc.edu!jmaynard
References: <1992Dec30.174457.29401@nntpserver.chevron.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!bcm!lib!oac.hsc.uth.tmc.edu!jmaynard
From: jmaynard@oac.hsc.uth.tmc.edu (Jay Maynard)
Newsgroups: news.software.b
Subject: Re: getdate.y and 1999
Message-ID: <8246@lib.tmc.edu>
Date: 30 Dec 1992 18:04:12 GMT
References: <1992Dec30.174457.29401@nntpserver.chevron.com>
Sender: usenet@lib.tmc.edu
Organization: UT Health Science Center Houston
Lines: 11
Nntp-Posting-Host: oac.hsc.uth.tmc.edu