home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / p / pafrv932.zip / PAFDATE.INF < prev    next >
Text File  |  1993-04-01  |  2KB  |  43 lines

  1.  
  2.  
  3.           ╔══════════════════════════════════════════════════════════╗
  4.           ║    Information About PAFDATE - From File PAFDATE.INF     ║
  5.           ╟──────────────────────────────────────────────────────────╢
  6.           ║      PAF Review   -   Edition 93.2   -   April 1993      ║
  7.           ╚══════════════════════════════════════════════════════════╝
  8.  
  9.         Examples and subroutines provided showing how to convert to and
  10.         from PAF style dates in PASCAL and BASIC.
  11.  
  12.         Version:       1.0
  13.         Author:        Unknown author
  14.         Address:       Unknown
  15.         Version Date:  August 1987
  16.         BBS File Name: PAFDATE.ZIP
  17.         Software Type: Freeware
  18.         Fee:           N/A
  19.         Read/Write:    N/A
  20.  
  21.         PAFDATE consists of two source programs, written in BASIC and
  22.         PASCAL, which use subroutines to convert dates to and from the
  23.         PAF internal format.  You must have a compiler that provides bit
  24.         manipulation functions in order to work with these dates.  There
  25.         is no documentation besides the source programs themselves.  The
  26.         following information concerning the internal date format was
  27.         taken from these source programs.
  28.  
  29.         A PAF date consists of 3, or 4 bytes, the year takes all of the
  30.         first byte and the left 4 bits of the second byte.  The month
  31.         takes the right 4 bits of the second byte and the left most bit
  32.         of the third byte.  The day takes the next 5 bits of the third
  33.         byte.  The remaining two bits are the modifier (0=BEF, 1=ABT,
  34.         2=NO MODIFIER, 3=AFT).  The fourth byte is for dual dating.  It
  35.         contains a value from 0 to 255 that is added to the normal year
  36.         to get the dual year.  This value would normally be 0, or 1.  If
  37.         this byte is zero, then the year is treated as a normal year.  
  38.  
  39.         NOTE: Only the vital events use dual dating.  The ordinance
  40.         dates do not use dual dating, and have only three bytes.  The
  41.         modifier is only valid when it accompanies a valid date.
  42.  
  43.