Previous | Contents | Index |
Returns the time difference between a given start and end time. The end time must be the same as or later than the start time.
F$DELTA_TIME (start-time,end-time)
dddd hh:mm:ss.cc |
start-time
Absolute time expression of the start time in the following format:
dd-mmm-yyyy hh:mm:ss.cc
end-time
Absolute time expression of the end time in the following format:
dd-mmm-yyyy hh:mm:ss.cc
$ START=F$TIME() $ END=F$TIME() $ SHOW SYMBOL START START = "15-JUL-2003 16:26:35.77" $ SHOW SYMBOL END END = "15-JUL-2003 16:26:41.39" $ WRITE SYS$OUTPUT F$DELTA_TIME(START,END) 0 00:00:05.62 |
This example uses the F$TIME() lexical function to define a symbol for the start time and end time. It then uses F$DELTA_TIME to display the time difference between the start and end times.
Previous | Next | Contents | Index |