Am trying convert date which is in local time zone to GMT, i did some thing like this
SimpleDateFormat sdf = new SimpleDateFormat(\"MM/dd/yyyy HH:mm:ss\");
After 'parse' you have to again format it before printing, e.g.:
System.out.println("GMT 2"+sdf.format(gmtDate));
EDIT: The reason is your gmtStrDate doesn't store any timezone information
gmtStrDate