VMS Help  —  TimeDiff  Examples
   $ TIMEDIFF /START="11-JAN-2007 11:00"/END="11-JAN-2007 11:15" -
              /OUTPUT=test
   $ SHOW SYMBOL test
     TEST = "   0 00:15:00.00"

   $ TIMEDIFF /START="11-JAN-2007 11:00"/END="11-JAN-2007 11:15" -
              /OUTPUT=test/FORMAT=SECONDS
   $ SHOW SYMBOL test
     TEST = "900"

   $ TIMDIFF /START=17-APR-2012 12:00/END=20-APR-2012 13:30 -
             /FORMAT=MINUTES
   $ SHOW SYMBOL timediff*
     TIMEDIFF$END = "20-APR-2012 13:30"
     TIMEDIFF$FORMAT = "MILLISECONDS"
     TIMEDIFF$START = "17-APR-2012 12:00"
     TIMEDIFF$VALUE = "26460000"
Close Help