February 13, 2017

SecondsBetween - XpressDox

The fillpoint

«SecondsBetween(Later,Earlier)»

will return the number of seconds between the value in data element Later, and that in Earlier.

For example:

The race started at «ChooseUsingTimePicker(StartTime)»«FormatTime(StartTime,'hh mm tt')» and ended at «ChooseUsingTimePicker(EndTime)»«FormatTime(EndTime,'hh mm tt')». The elapsed time was «SecondsBetween(EndTime,StartTime)» seconds, which was not a new record.