home *** CD-ROM | disk | FTP | other *** search
- * Program.: DOS-DATE.PRG
- * Author..: "Anonymous", Luis A. Castro
- * Date....: 07/01/83, 10/31/83, 01/20/84
- * Notice..: Copyright 1983, Ashton-Tate, All Rights Reserved.
- * Notes...: Loads the IBM-PC system date.
- *
- * OUT: date:dos-C-8 Date in MM/DD/YY format.
- *
- SET CALL TO 61440
- POKE 61440, 180,42,205,33,137,22,13,240,137,14,15,240,195
- CALL
- * ---Get the month, day, and year.
- STORE STR(PEEK(61454),2) + "/" +;
- STR(PEEK(61453),2) + "/" +;
- STR(PEEK(61456)*256+PEEK(61455)-1900,2) TO date:dos
- *
- * ---You may also want to set the dBASE II system date
- * ---with the command: SET DATE TO &date:dos
- *
- RETURN
- * EOF: DOS-DATE.PRG