Time format in File for Stopwatch

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
mbarrachina
Posts: 5
Joined: Fri Jan 16, 2009 4:00 pm

Time format in File for Stopwatch

Post by mbarrachina » Tue Mar 31, 2020 11:13 am

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
Post Reply