home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Press 1997 July
/
Sezamfile97_1.iso
/
msdos
/
database
/
pdx_ti2.arj
/
TI1088.ASC
< prev
next >
Wrap
Text File
|
1992-12-02
|
3KB
|
133 lines
PRODUCT : Paradox NUMBER : 1088
VERSION : All
OS : DOS
DATE : December 2, 1992 PAGE : 1/2
TITLE : Converting Julian Numbers to Paradox Dates
Intended Audience:
This Technical Information sheet is intended for someone with a
moderate level of Paradox knowledge.
Prerequisites:
A basic understanding of the Paradox Ask feature.
Purpose:
This Technical Information sheet demonstrates how you can use a
query to convert Julian numbers to Paradox Dates.
Julian numbers represent the number of days that have passed
since a set date (the date could be December 31, 1899, the birth
of Christ, 9/16/64 etc). For example, if the set date that the
Julian number is based on is December 31, 1899, the Julian number
10 is equivalent of the calendar date January 10, 1900. This
Technical Information sheet assumes that the set date is
December 31, 1899 and it provides step-by-step instructions for
converting Julian numbers to Paradox dates. If you have imported
data into Paradox from another software program and the date is
represented as a Julian number, consult the documentation from
that software program for the appropriate set date.
1. Select {Ask} from the Paradox menu.
2. When prompted, type in the name of your table name
and press <Enter>.
3. Move the cursor to the leftmost column of the query form
so it is directly underneath the table name.
4. Press <Alt-F6> to place a checkplus in all the fields.
5. Move the cursor to the field containing the Julian number.
6. Press <F5> followed by J.
7. There should now be a highlighted example element J in the
column containing the Julian number.
PRODUCT : Paradox NUMBER : 1088
VERSION : All
OS : DOS
DATE : December 2, 1992 PAGE : 2/2
TITLE : Converting Julian Numbers to Paradox Dates
8. When your query is complete it will look similar to the
one listed below: *
DATES ║ Julian Number ║
══════╬═════════════════════════════════════════════╣
║ √+ _J, calc 12/31/1899 + _J as "New Date" ║
9. Press <F2> to process the query.
10. An Answer table will appear containing the converted
dates.
* The underscore character "_" represents an example
element. Example elements are created by pressing <F5>
followed by a letter. For example, example element J is
created by pressing press <F5> followed by the letter J.
For additional information about queries, refer to the chapter on
Ask in the Paradox User's Guide.
DISCLAIMER: You have the right to use this technical information
subject to the terms of the No-Nonsense License Statement that
you received with the Borland product to which this information
pertains.