Below you see the output of "Moscow Time" applet (current Moscow time, if the timer on your computer is set correctly).
The applet illustrates, how to use classes "Date", "GregorianCalendar", "TimeZone", and "DateFormat".
Source text of "Moscow Time'' applet.