Forum Discussion
HKosova
14 years agoSmartBear Alumni (Retired)
Hi Nassim,
Your computer is set to the GMT+2 time zone, right?
The VBScript code that I posted uses the UTC/GMT time, so the lines that you added:
To log your local time, use the following code instead:
Your computer is set to the GMT+2 time zone, right?
The VBScript code that I posted uses the UTC/GMT time, so the lines that you added:
report the UTC/GMT time rather than your local time, hence the two-hour time difference.
curTimeStr = aqConvert.DateTimeToStr(dt)
Log.Message("current time is " & curTimeStr)
To log your local time, use the following code instead:
Check out these links for more information:
http://www.epochconverter.com/epoch/timezones.php?epoch=1317718117
http://www.timestampgenerator.com
Related Content
- 9 years ago
- 5 years ago
- 4 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago