public static String formatMillisToGMT(long milliseconds){
  Date date=new Date(milliseconds);
  SimpleDateFormat simpleDateFormat=new SimpleDateFormat(FORMAT_HTTP_DATA,Locale.US);
  simpleDateFormat.setTimeZone(GMT_TIME_ZONE);
  return simpleDateFormat.format(date);
}

public static String formatMillisToGMT ( long milliseconds ) { Date date = new Date ( milliseconds ) ; SimpleDateFormat simpleDateFormat = new SimpleDateFormat ( FORMAT_HTTP_DATA , Locale . US ) ; simpleDateFormat . setTimeZone ( GMT_TIME_ZONE ) ; return simpleDateFormat . format ( date ) ; }
parsing the timezone of time from milliseconds .
