Dec 162017
Compact, menu-driven calendar utility.
File DFINDER.ZIP from The Programmer’s Corner in
Category Databases and related files
Compact, menu-driven calendar utility.
File Name File Size Zip Size Zip Type
DFINDER.DOC 2994 1424 deflated
DFINDER.EXE 3604 1753 deflated

Download File DFINDER.ZIP Here

Contents of the DFINDER.DOC file

A Calendar Utility
Version 1.0
(c) 1987 Ronald G. Precup

DFINDER.EXE is a small (3600-byte), menu-driven calendar utility for
IBM and IBM-compatible computers that gives (1) the number of days between
specified dates, (2) the calendar date N number of days after a specified
date, (3) the calendar date N number of days before a specified date, (4) the
day of the week for a specified date, and (5) the Julian day number of a
specified date.
The user's selection of a particular function is made by moving a
bar cursor over the desired menu item using the computer's up and down
arrows, then pressing . The program prompts for the date or dates,
which the user then enters. Computation of the requested result is nearly
Unlike other date-computation utilities, DATEFINDER makes no use of
the DOS system clock or separate clock/calendar card, so the user need not
assure that his system clock is correctly set before using the program. The
trade-off is that one must enter the current date to use it as a computation
base, rather than having the option of using the current system date with
a single keystroke.
All user-input dates are entered in the format YYYYMMDD, that is,
as eight characters, the first four of which are the year (e.g., 1987), the
next two of which are the month (e.g., 02 for February or 11 for November),
and the last two of which are the day of the month (e.g., 01 for the first
day of the month or 10 for the tenth). Using four digits for the year lets
one use the program for dates beyond 1999. To keep the code size down, there
is little validity-checking of user input, so dates should be entered
DATEFINDER is written entirely in assembly language using integer
math for speed and compactness of code, but as a result the algorithms may
be somewhat inaccurate for dates before 1900 or after 2099. No correction
is made for the ten-day gap that occurred upon promulgation of the Gregorian
calendar in 1582, so dates before 1583 are guaranteed to be wrong. But for
day-to-day use in the latter part of the 20th Century, no problem.
Julian day numbers are computed to noon of the day specified, so that,
for example, the all-day Julian day number for November 11, 1987, is given
as 2447111, rather than having it change (as it technically does) at noon
that day from 2447110 to 2447111. There are far more precise, fractional
Julian date programs available for those, such as astronomers, who must
know the number with a high degree of precision.
DATEFINDER is dedicated to the public domain and may be freely
used and distributed for any lawful purpose.

Ron Precup
4123 North Richmond Street
Arlington, Virginia 22207
Voice (703) 525-5267
Data (703) 525-3265
(202) 775-8980 (non-business hrs only)
November 13, 1987

 December 16, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>