The time difference component lets you calculate the difference between two date time fields on the form. This difference can then be used in a alert if required. 


The 'Name' of a field is displayed at the top of the detail for the field:



Take the 'Name' from the start end end time fields and paste in the time difference detail fields: