See attached sample.
When Button1 TouchDown, I store the current
milliseconds since 1970 in Label1.Text.
When Button1.TouchUp, I subtract the current
milliseconds since 1970 from the Label1.Text value,
to get the milliseconds that Buttton1 was held down,
and store it in Label1.Text.
Button2 and Label2 are not wired, just to
remind us that we can do this with multiple buttons,
though not necessarily simultaneously.
For your app, you would use a global variable or two
for the temporary interval value.
ABG