Kaspar,
How easy it is may depend on how well you can define the two points: The rising edge and the "presence" of the sine wave. Once you have those two points, simply subtract the array indices and multiply by dt. If you want to interpolate or if the signals are noisy and the definitions of the two points are not clear, then things may be difficult.
Lynn