On detail_cr/detail_in form, I want to calculate the difference between two date attributes (let's say open date and close date or open date and acknowledge date) and store the result in another attribute based on either of the following type of conditions:
1. Neither of the two date attributes is null
2. Value of any flag variable is set
The format should be like hh:mm:ss or any other format possible.
Kindly suggest how it can be achieved.
Balram Singh Deswal