buenas tardes,
quería saber como conseguir una variable con el tiempo que llevo el proceso.
intente hacer una assign now con variable datatime al principio y otro al final para luego restarlos, pero me da error a la hora de restar las dos variables
alguna idea de como lograrlo? gracias
Hi @alberto67
Can you share screen shot of the error?
Hi @alberto67
First, create 2 variables of datatype ‘DateTime’ - startTime & endTime. Use:
‘startTime = Now’ in the beginning of the process & ‘endTime = Now’ in the end of the process.
Take another variable ‘timeTaken’ of datatype System.TimeSpan to calculate the total time taken. Use:
‘timeTaken = endTime - startTime’
You can also extract total seconds, minutes or hours from the ‘timeTaken’ object. For example:
‘timeInSeconds = timeTaken.TotalSeconds’
Hope this helps,
Best Regards.