texttimeinterval(
START
,
END
)

The texttimeinterval( function allows time math to be performed on text values.


Parameters

This function has two parameters:

start – The starting point of the time interval.

end – The ending point of the time interval.


Description

This function allows time math to be performed on text values. The parameters and result are all text. This function can calculate time intervals that cross midnight.

texttimeinterval("9:45 PM","1:12 AM") ☞ 3:27:00
texttimeinterval("2:10:37 PM","7:50:09 PM") ☞ 5:39:32
texttimeinterval("2:10:37 PM","7:50:09 AM") ☞ 17:39:32

If you need to calculate time differences across multiple days, use SuperDates (see superdate().

Note: This function is equivalent to:

timepattern(timeinterval(time(start),time(end)),"hh:mm:ss")

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.