Demo TimeSpan Datatype: Find Time Between Two Values

The attached sample project contains a form with two datetime pickers. One picker is for the beginning datetime value, while the other is for the ending datetime value. A NumberBox form control is used to capture the time difference.

An Active Form Flow is run when a value change is made to either one of the datetime pickers. The Active Form Flow contains a Get Time Span Between step that outputs the duration between the datetime pickers in hours. A Set Control Value step updates the NumberBox form control that cannot be edited via user interface.

Sign In or Register to comment.