I wrote the following code
Date d = new Date(); CharSequence s = DateFormat.format(\"MMMM d, yyyy \", d.getTime());
But is asking me para
CharSequence s = DateFormat.getDateInstance().format("MMMM d, yyyy ");
You need an instance first