home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
VRAC
/
PAFRV935.ZIP
/
INSTALL.EXE
/
PAFDATE.INF
< prev
next >
Wrap
Text File
|
1993-04-01
|
2KB
|
42 lines
╔══════════════════════════════════════════════════════════╗
║ Information About PAFDATE - From File PAFDATE.INF ║
╟──────────────────────────────────────────────────────────╢
║ PAF Review - Edition 93.2 - April 1993 ║
╚══════════════════════════════════════════════════════════╝
Examples and subroutines provided showing how to convert to and
from PAF style dates in PASCAL and BASIC.
Version: 1.0
Author: Unknown author
Address: Unknown
Version Date: August 1987
BBS File Name: PAFDATE.ZIP
Software Type: Freeware
Fee: N/A
Read/Write: N/A
PAFDATE consists of two source programs, written in BASIC and
PASCAL, which use subroutines to convert dates to and from the
PAF internal format. You must have a compiler that provides bit
manipulation functions in order to work with these dates. There
is no documentation besides the source programs themselves. The
following information concerning the internal date format was
taken from these source programs.
A PAF date consists of 3, or 4 bytes, the year takes all of the
first byte and the left 4 bits of the second byte. The month
takes the right 4 bits of the second byte and the left most bit
of the third byte. The day takes the next 5 bits of the third
byte. The remaining two bits are the modifier (0=BEF, 1=ABT,
2=NO MODIFIER, 3=AFT). The fourth byte is for dual dating. It
contains a value from 0 to 255 that is added to the normal year
to get the dual year. This value would normally be 0, or 1. If
this byte is zero, then the year is treated as a normal year.
NOTE: Only the vital events use dual dating. The ordinance
dates do not use dual dating, and have only three bytes. The
modifier is only valid when it accompanies a valid date.