home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Education
/
collectionofeducationcarat1997.iso
/
SCIENCE
/
SDC102.ZIP
/
STARDATE.DOC
< prev
next >
Wrap
Text File
|
1993-06-10
|
5KB
|
132 lines
StarDateCalc 1.02
Freeware by Afonso Infante, 1993
USER'S MANUAL
=============
The purpose of this program is to convert normal "Earth Dates" to Star
Trek: The Next Generation's "StarDates" and vice-versa.
The formulas used to make the conversion can be considered "canon",
since they've worked perfectly every time both Earth Dates and
correspondent StarDate were given during the series. I worked the formula
out through those situations, and, after all, is a very logic process.
Other persons (like Wilford Nusser, from RIME's StarTrek conference) have
reached formulas that give exactly the same results.
The program has two modes of operation: the standard mode (which only
displays the current StarDate) and the interactive mode, which, besides
showing the current StarDate, shows a menu, which gives you the
opportunity to convert *any* Earth Date (between 2147483648 BC and
2147483647 AD) into a StarDate and to convert any *positive* StarDate
(between 2.9E-39 and 1.7E38) into its correspondent Earth Date.
In the conversion, the year, month, day of the month, hour, minute,
second and even 100th of second are taken in account.
An important detail: every time the program outputs an Earth Date, the
format of the output is
dd/mm/yyyy hh:mm:ss.ss
This is the English (and Portuguese) date format, so users from other
countries (especially USA, where the format is mm/dd, not dd/mm) have to
be cautious. The hour is in military format (00:00:00.00 to 23:59:59.99),
no AM or PM. One hour PM is 13 hours, and so forth, until 23 hours (11
PM). 00 hours is 12 AM.
The outputted years are always AD unless specified.
STANDARD MODE
-------------
To run the program, just type STARDATE in the DOS command line. The
program will present the current Earth Date and its equivalent StarDate.
If you want to save the StarDate into a text file (for using it in an
off-line mail reader, for example), just use the DOS pipes. For example,
if you want to place the StarDate into the file STAR.TXT, just type:
STARDATE >STAR.TXT
The program will still present the Earth Date on the screen, but the
StarDate (and only that) will be outputted to the text file.
INTERACTIVE MODE
----------------
Using the interactive mode it's possible to take advantage of all the
power of the program.
You can enter the interactive mode by typing
STARDATE *
in the command line. Then, besides the standard information, a menu will
appear, giving you three choices: convert an Earth Date into a StarDate,
do the opposite or just quit the program. To choose the option, just type
its corresponding number. Any characters other than number 1 or 2 will
just quit the program.
Convert an Earth Date into a StarDate
-------------------------------------
After choosing this option, you'll have to type in all the data
concerning the Earth Date. BC years are accepted, and to type one in, just
put a minus sign before (e.g.: 2000 BC is -2000). Any year between
30445 BC and 35090 AD is accepted. If you type any year off this limits,
a fraction, or any non-numeric string, the program will output an error
message.
In the month and day of month prompts, anything off the range (1 to 12
in the first case and 1 to 28, 29, 30 or 31, depending on the month, in
the second) and any non-numeric characters will be rejected.
In the hour, minute, second and 100th of second prompts, anything off
the limit or any non-numeric string will be considered 0.
Convert a StarDate into an Earth Date
-------------------------------------
This is very straightforward. Just type in any *positive* StarDate
(negative ones are rejected, due to limitations in program language -
maybe in a future release I can work out some way to work around this - in
spite of not being any big limitation, since normally you'll want to
convert positive StarDates).
Non-numeric strings are considered StarDate 0.
After any conversion, the program simply exits to DOS.
This version was tested under DESQview and Windows 3.1, and worked
perfectly in any of them.
I hope all your Trekkies out there like the program. This program is
freeware, but any contributions will be welcomed and support the
development of the program. If I have enough support, I will certainly
make a Windows 3.1 version of StarDateCalc, which will work much like the
standard Windows' Clock accessory.
You can send your contributions (in cash - US dollars or Portuguese
Escudos - or internacional postal money order) to:
Afonso Infante
Travessa da Belavista, 8 - 3ºFrente
2735 CACEM
PORTUGAL
I also accept any suggestion or critic. You can also reach me through
RIME's StarTrek conference (AFONSO INFANTE on node SKYSHIP) or Internet
(afonso.infante@f2.n362.z2.fidonet.org).
Thank you for reading the DOC!
Afonso Infante.