Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Integration Server Built-In Services | 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.