home *** CD-ROM | disk | FTP | other *** search
- program DateEnc;
- uses PXEngine;
-
- var PxErr: Integer;
- Date: TDate;
- Month, Day, Year: Integer;
-
- begin
- Month := 9; Day := 13; Year := 1989;
- PX(PXInit);
-
- (* Encode a date *)
- PxErr := PXDateEncode(Month, Day, Year, Date);
- if PxErr <> PxSuccess then
- Writeln(PxErrMsg(PxErr));
-
- PX(PXExit);
- end.