devxlogo

July 1, 2000

Converting Time Zones and Dates

The java.util.TimeZone class can be used to convertdates and times from local values (default) to othertime zones. The following example shows how: import java.util.*;public class TimeZoneTest {public static void main(java.lang.String[]