Hi LS,
Search this forum for my name (Scott Heim) as I provided sample code for
someone else not long ago specifically for calculating the elapsed time
between 2 date/time fields on an InfoPath form.
If you are unable to find the thread, let me know and I will post the
sample steps again.
Best regards,
Scott L. Heim
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights