Hi
I want to calculate total time taken of executing a method, I have writtem a job , however it returns only till seconds. If I change the sleep to 100 it returns blank since the process took milliseconds to complete .
I want that milliseconds also if the process executes in milliseconds.
Args args;
FromTime startTime = timeNow();//DateTimeUtil::getSystemDateTime();
print(“DOnme”);
sleep(1000);
info(strFmt(“Total time taken To execute is %1”,timeConsumed(startTime,timeNow())));
pause;
Kindly Help