Forum Discussion
HKosova
Alumni
15 years agoHi 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