Hi, I’m trying to calculate the number of hours from two time values.
I’ve three fields:
- StartTime
- EndTime
- TotHours
I need to calculate the number of hours from StartTime to EndTime and then update TotHours field.
I think that this operation can be done in ItemPropertyChangeListener , but how?
Please, help me…