Java Utililty Methods TimeZone Change

List of utility methods to do TimeZone Change

Description

The list of methods to do TimeZone Change are organized into topic(s).

Method

StringconvertTimezone(Date date, String destZone, String dateFormat)
Converts a date into another timezone.
DateFormat df = new SimpleDateFormat(dateFormat);
df.setTimeZone(TimeZone.getTimeZone(destZone));
return df.format(date);