home *** CD-ROM | disk | FTP | other *** search
- PROGRAM NAME: CalJul.PRG/JulCal.PRG
-
- DESCRIPTION: Routines for converting a date to a numeric Julian
- date.
-
- ISSUE: July, 1985
- PAGE: 4
-
- SOFTWARE VERSIONS: dBASE II, any version
-
- FUNCTION: CalJul.PRG converts date, a character variable in the
- form MM/DD/YY, to a numeric variable, Jul:date. The second
- routine, JulCal.PRG, converts a numeric date variable to a
- character date variable. These routines are meant to be called
- from programs, so that dates can be stored in a database file as
- Julian dates (numeric fields), and displayed as characters.
-
- FILES NEEDED: CalJul.PRG
- JulCal.PRG
-
- SETUP INSTRUCTIONS: To use Caljul, store a character string in
- the form "MM/DD/YY" to a variable called date. When you want to
- convert the character to a numeric julian date, type DO Caljul.
- Then, for example, you can replace your date field with jul:date
- and type DO Caljul.