home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1992-01-02 | 652 b | 20 lines |
- ' This demo use Lsys Stamp to get the current datestamp (SYSTEM-time which
- ' is set by SetClock LOAD, or Date in your s/startup-sequence)
- ' It then converts this stamp using Ldate.
- '
- ' Lsys Time simply returns a string with the current time.
- Print Extension_10_02D4 ;" days have passed since 1 Jan 1978"
- Every 50 Proc DAT
- Curs Off
- Do
- Multi Wait
- Exit If Inkey$<>""
- Loop
- Procedure DAT
- A$= Extension_10_00DE( Extension_10_02D4 )
- B$= Extension_10_02C4
- Print "Current date : ";Mid$(A$,1,2);"-";Mid$(A$,3,2);"-";Mid$(A$,5,2)
- Print "Current time : ";Mid$(B$,1,2);":";Mid$(B$,3,2);".";Mid$(B$,5,2)
- Cup : Cup
- Every On
- End Proc