From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10efc3,8e35069c57fd6a9c X-Google-Attributes: gid10efc3,public X-Google-Thread: 1164f8,8e35069c57fd6a9c X-Google-Attributes: gid1164f8,public From: Mark Holcroft Subject: Re: .. YEAR2000 help -- storage bunkum - it **WAS** stupidity Date: 1997/07/23 Message-ID: <33D5E2D8.1367@sasib.co.uk>#1/1 X-Deja-AN: 258293847 X-NNTP-Posting-Host: villeneuve.sasib.co.uk [194.217.60.27] References: <01bc819c$88c93420$0b3ba8c2@default> <**empire-0207971352220001@d61.cia.com.au> <33BB036D.50EE@magna.com.au> <33BCBB45.5B60@cabot.co.uk> <33D1F009.758@sasib.co.uk> <33D47C7B.149CC597@shani.net-no-spam> <33D49AB4.2AA8@sasib.co.uk> <5r4hbq$mbc@clarknet.clark.net> Reply-To: mwh@sasib.co.uk Newsgroups: comp.os.minix,comp.sys.dec William McBrine wrote: > > In comp.os.minix Mark Holcroft wrote: > > : I demonstrated a method that could have applied using as little as a > : 5bit character set to extend the range of years expressible by 2 > : characters well past 2000. > > That was pretty cool. But to take it further, why not a simple > *one*-byte (8-bit) *binary* number? Base it on 1900, and you're good > until 2155 (or 2027, if you make it a signed number). Because all those Y2k apologists want their dates punched out on 73 character cards, in exactly the same format as their data files.... :( favoured format for dates: 64 bit signed integer, representing days+- since April 12, 1961 Gives quite a tasty range.