I am using TextView to set date and time with day name, but time is showing in 24hours and I want to set it in 12hours format. can any one help me what should I change in this format.

```
textDateTime.setText(new SimpleDateFormat("EEEE, dd MMMM yyyy HH:mm a", Locale.getDefault()).format(new Date()));

```