I have written a couple of BBS utilities, one that's TriBBS 10.0+
specific, and one that's generic using the 52-line DOOR.SYS drop
file. Both programs use date conversion/manipulation using the
function Date2Num%(A$) found in QuikPak Pro. My problem is:
both TriBBS 10.0+ & the DOOR.SYS drop file use the "MM/DD/YY"
format for birthdays. The QPP function will work with the dates
01/01/1900 to 11/17/2065. However, I can't make use of that
range because the birthdate strings only contain the last two
digits of the year.
Does anybody have an idea for an algorithm I can use to make it
able to distinguish between which centuries the birthdates lie
in? I can't think of anything, as I don't believe it's logically
possible. But, hopefully, somebody can prove me wrong.
specific, and one that's generic using the 52-line DOOR.SYS drop
file. Both programs use date conversion/manipulation using the
function Date2Num%(A$) found in QuikPak Pro. My problem is:
both TriBBS 10.0+ & the DOOR.SYS drop file use the "MM/DD/YY"
format for birthdays. The QPP function will work with the dates
01/01/1900 to 11/17/2065. However, I can't make use of that
range because the birthdate strings only contain the last two
digits of the year.
Does anybody have an idea for an algorithm I can use to make it
able to distinguish between which centuries the birthdates lie
in? I can't think of anything, as I don't believe it's logically
possible. But, hopefully, somebody can prove me wrong.
Comment