In my project i am using the HorizontalPicker third party library for date selection. However i'm struggling to change the format of the DateTime variable when i display the value in a textview.
How would i format this to something that is more easier for the user to read to something like "10-May-2020"
Code:
@Override
public void onDateSelected(@NonNull final DateTime dateSelected)
{
displayDate.setText(dateSelected.toString());
}