Integration Server 10.7 | Built-In Services Reference Guide | Date Folder | Summary of Elements in this Folder | pub.date:elapsedNanoTime
 
pub.date:elapsedNanoTime
WmPublic. Calculates the time elapsed between the current time and the given time, in nanoseconds.
Input Parameters
nanoTime
java.lang.Long Time in nanoseconds. If nanoTime is less than zero, then the service treats it as zero.
Output Parameters
elapsedNanoTime
java.lang.Long The difference between the current time in nanoseconds and nanoTime. If nanoTime is greater than the current nano time, the service returns zero.
elapsedNanoTimeStr
String The difference between the current time in nanoseconds and nanoTime. The difference is expressed as a String, in this format:
[years] [days] [hours] [minutes] [seconds] [millisec] [microsec] <nanosec>
If nanoTime is greater than the current nano time, the service returns zero.