PowerCenter
- PowerCenter 10.4.0
- All Products
TIME_RANGE(EventTime1,EventTime2,Format,Interval)
Argument
| Required/Optional
| Description
|
---|---|---|
EventTime1
| Required
| Date datatype. The time that a streaming event is generated in the master port of a Joiner transformation.
|
EventTime2
| Required
| Date datatype. The time that a streaming event is generated in the detail port of a Joiner transformation.
|
Format
| Required
| A format string that specifies the portion of the event time value you want to change. Enclose the format string within single quotation marks. For example, 'Seconds'. The format string is not case-sensitive.
The format argument accepts the following values:
|
Interval
| Required
| An integer value which you want to change the event time value based on the format.
|
TIME_RANGE(EventTime1,EventTime2,'Second',4)
(EventTime1.<=(EventTime2).&&(EventTime2.<=(EventTime1.+(expr("INTERVAL 4 SECONDS")))))