Quantcast
Viewing all articles
Browse latest Browse all 5571

Calculating the time difference between to fields

I have 3 fields;

 

Time Field 1 called StartTime

Time Field 2 called EndTime

 

I'd like to calculate the difference between these 2 fields into the another field called TotalTime in hours.

EndTime cannot be greater or equal to StartTime. In this case a message should warn the user.

 

Could you help me with that please?

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 5571

Trending Articles