I have time in milliseconds for ex. 1308700800000; I need to convert it to something like Jun 9'11 at 02:15 PM.

I tried using

SimpleDateFormat format = new SimpleDateFormat("MMM D'\''YY");

but i get an exception:

Caused by: java.lang.IllegalArgumentException: Unterminated quote

Any help would be highly appreciated.

Edit
Report