PreviousNext

utc subtract

Subtracts one timestamp from another returning the difference as a relative timestamp. The syntax is:

utc subtract timestamp timestamp

Description
The utc subtract command returns the difference between two timestamps that express either an absolute time and a relative time, two relative times, or two absolute times. The return value is a relative timestamp.

Privileges Required
No special privileges are needed to use the utc subtract command.

Examples

dcecp> utc subtract 1994-10-18-13:22:32.816-00:00I----- +0-00:00:15.000I-----
1994-10-18-13:22:17.816+00:00I-----
dcecp>