vselyanin
10 years agoNew Contributor
Timezone of Moscow
Hello, i'm got a problem with some groovy scripts in my SoapUI Tests.
new Date() returns value of currentTime +1 hours.
I am working from Moscow, and my TimeZone is +3 UTC, but SoapUI thinks that Moscow is in +4 TZ. How can i fix this, without changing my PC's TZ ?
- Check this out, you can use the java code as it is or groovify it if comfortable.
http://stackoverflow.com/questions/9156156/how-to-get-local-time-of-different-timezones im did it.
Downloaded tzupdater (http://www.oracle.com/technetwork/java/javase/tzupdater-readme-136440.html)
\SmartBear\SoapUI-5.2.0\jre\bin>.\java.exe -cp . -jar tzupdater.jar -u
as administrator in command prompt and iiiits works fine. now my moscow tz is +3 gmt, not +4