home *** CD-ROM | disk | FTP | other *** search
Wrap
Path: sparky!uunet!olivea!spool.mu.edu!agate!ucbvax!WSC.COLORADO.EDU : The Macintosh Lab Manager : VIE Systems Operator : WSCMRT SysOp : Mountain Rescue)!STU011649835 From: STU011649835@WSC.COLORADO.EDU : The Macintosh Lab Manager : VIE Systems Operator : WSCMRT SysOp : Mountain Rescue) (Chris Kennedy : Liqu) Newsgroups: comp.os.vms Subject: Time functions in VMS comparing and returning the difference Message-ID: <921221000127.20407c7f@WSC.COLORADO.EDU> Date: 21 Dec 92 07:01:27 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 27 This is a resend dur to some invalid params. - if you get it twice, sorry. ------------------------------------------------ Hello to all- i am writing a program (DCL) that upon execution writes time/day to a file. This works. Next I am trying to write another program which reads the file and takes the first time entry and compares( finds difference) with the next one. This is repeated until the end of the file. I.E. time card program. The output (total time comparison) is placed to file2 to be typed/printed out (either in a 10 base or 60 base). My problem is figuring out how to compare 2 time values and find the difference. I do not have access to the manuals ( if I did I would not know where to start). The online help dosen't provide much help. If you (anyone) have any sample programs, or anything else that might be of help, PLEASE send..... Fortran, Pascal, Basic, C and DCl are all ok, but prefer DCL programs. Thank you all. Send any replies to stu011649835@wsc.colorado.edu , or org_mrt@wsc.colorado.edu . I am not subscribed to INFO-VAX. BTW : Merry Christmas, and have a happy new year........... Chris Kennedy STU011649835@wsc.colorado.edu ORG_MRT@wsc.colorado.edu Voice : (303) 641-5534