I want to process execution time

“process test” started

While the process is running, I want it to appear in the log as to how many seconds have passed since the process started…

“process test” ended

Now DateTime - Start DateTime …VB expression???

@sumouse

Try like this:

DateTime Start_Time= DateTime.Now

DateTime End_time= DateTime.Now

TimeSpan Execution_Time= End_time.Subtract(Start_Time)

2 Likes

thank you ^&^

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.