Code: Select all
entrydelta=timetominutes(time)-timetominutes(exittime(1))+(date-exitdate(1))*1440;
You can then kick off some code based up this entrydelta, for example
Code: Select all
if condition1 and condition2 and entrydelta>30 then ...
Code: Select all
entrydelta=timetominutes(time)-timetominutes(exittime(1))+(date-exitdate(1))*1440;
Code: Select all
if condition1 and condition2 and entrydelta>30 then ...