Ask a Question

Timezone of Moscow

SOLVED
vselyanin
New 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 ?

3 REPLIES 3
nmrao
Community Hero

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


Regards,
Rao.

Is there any suggestions of how can i get timezone moscow gmt +3 ?

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

cancel
Showing results for 
Search instead for 
Did you mean: