Page 1 of 1

Time format in File for Stopwatch

Posted: Tue Mar 31, 2020 11:13 am
by mbarrachina
Hi,

I am getting the following log format in my performance file from my macro with stopwatch commands:

"2020/03/31,11:09:39,Google,0.042"

The date is correct but the time is in UTC.

My system time is exactly 01:09 am. I saw in https://wiki.imacros.net/Performance_Profiler that if the performance profiler is used that "Times are reported in Coordinated Universal Time (UTC). This is denoted in the output with the suffix "Z" following the international standard to represent for dates and times."

I am not using the performance profiler and also there is no suffix Z as you can see in my log. My Script is as follows:

VERSION BUILD=12.6.505.4525
CLEAR
SET !STOPWATCH_HEADER NO
'SET !FILESTOPWATCH NO
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=https://www.google.com/
STOPWATCH ID=Google
TAG POS=1 TYPE=IMG ATTR=ID:hplogo
STOPWATCH ID=Google
ADD !EXTRACT {{!STOPWATCHTIME}}

CAn you tell how to get the real system time in my log file?

Cheers,
Manuel Barrachina