Hi Nikhil, Your problem is because of zone offset component present in the calendar value. By using java we achieved like this. ccal = Calendar.getInstance(); ccal.setTime(newDate); ccal.clear(Calendar.MILLISECOND); ccal.clear(Calendar.ZONE_OFFSET); By constucting java Calendar object set that Calendar object hourtime obj.