Ignite Discussions : Ask Questions, Find Answers, Share Expertise about Sparkflows
We can use the ‘Date Difference’ processor to compute the date difference between two date values. Difference can be computed in terms of the number of days, hours, minutes and seconds.
To use ‘Date Difference’ Processor, follow the steps mentioned below:
- Select a Date column from the incoming DataFrame under the ‘From Date’ field.
- Select another Date column from the incoming DataFrame under the ‘To Date’ field.
- To compute the date difference with respect to Current Date select 'Use Current Date
As To Date’ as ‘True’.
- Select ‘Days’, ‘Hours’, ‘Mins’ and ‘Hours’ as “True” based on the difference expected in