IM InfoSphere Identity Insight, Version 8.0

DQM function 300: Date calculator

DQM function 300 determines the difference between two date/time values and stores that value in the UMF tag.

The dates must be in a supported date format. If the first date is later than the second, the difference result is set to zero.

This function does not have any correction procedures.

Parameters

Comparison Type
Type of comparison unit.
S
Compares the difference in seconds.
D
Compares the difference days.
M
Compares the difference in months.
Y
Compares the difference in years.
First Date Element
The XPath location of the first UMF tag name to compare.
Values can also be:
DATE
The current date.
DATETIME
The current date and time.
Second Date Element
The XPath location of the second UMF tag name to compare.
Values can also be:
DATE
The current date.
DATETIME
The current date and time.
Add to Result
Number of comparison unit to add to the result.

Exception codes

Exception Code Description Severity*
-3 One or both the dates are invalid. 3
-2 The date comparison unit type is not valid. 3
-1 One or both of the comparison dates are empty. 3
1 The date difference was calculated and stored. 0


Feedback

Last updated: 2011