This question shows research effort; it is useful and clear
-2
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
次のコードは、「Thu, 10 Oct 2013」という日付を出力します。
Date date = new Date(timeInMilliSec);
SimpleDateFormat df2 = new SimpleDateFormat("EEE, dd MMM yyyy");
String dateText = df2.format(date);
return dateText;