First i have a java Date object lets say
Date firstdate; // its initialized and equal to some date dont worry
with using this code i convert it to dd/MM/yyyy format
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");
date.setText(sdf.format(firstdate));
But since sdf.format is returning to a string,after formating 1 time i cant format it again to my desired Monthname day,Year format before displaying to user.
i mean if sdf.format(firstdate)
returns "01/01/2000" string,i would like to convert this to January 1,2000 and then display it to user.