I want Current Date in GMT wise Timezone.I used following code.
 public static Date getGMTDate(String dateFormat) throws ParseException
   {
        SimpleDateFormat dateFormatGmt = new SimpleDateFormat(dateFormat);
        dateFormatGmt.setTimeZone(TimeZone.getTimeZone("GMT"));
        // Local time zone
        SimpleDateFormat dateFormatLocal = new SimpleDateFormat(dateFormat);
        // Time in GMT
        return dateFormatLocal.parse(dateFormatGmt.format(new Date()));
   }
//call above function.
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
date = getGMTDate("yyyy-MM-dd HH:mm:ss");
when i will change my device date then time is display in GMT formate but Date is not display in GMT timezone.its display of device's date. but I want Current GMT Date.
 
     
     
    