Calendar ci = Calendar.getInstance(); CiDateTime = \"\" + (ci.get(Calendar.MONTH) + 1) + \"/\" + ci.get(Calendar.DAY_OF_MONTH) + \"/\" + ci.get(Calendar.
hh:mm a
Adding the 'a' should do the trick in displaying the am/pm
In angular i am using angular-bootsrap-datetimepicker and to display the selected date and time i am using this syntax
data-ng-model="event.start | date:'dd-MM-yyyy hh:mm a'"