Name: rlT66838 Date: 08/05/97
1. (as root): cd /usr/share/lib/zoneinfo; zic europe
(as user): TZ=Europe/Moscow export TZ
2. java code: System.out.println("Now is " + new Date());
3. java tz; date
Now is Thu May 15 08:35:13 PDT 1997
Thu May 15 19:35:40 MSD 1997
4. In properties: user.timezone=MSK (BTW: for Omsk it will be OSK)
company - Server Ltd, , email - 78, Vernadsky Pr., Moscow 117454, Russia
======================================================================
- duplicates
-
JDK-4069784 TimeZone.getDefault() returns incorrect time zome.
-
- Closed
-