How do you get the numeric day of the week? For instance, Sunday is day 1 in the Gregorian calendar. Using SimpleDateFormat, d
gets the day in month. Any solution for the numeric day of week?
Asked
Active
Viewed 211 times
0

DevC
- 6,982
- 9
- 45
- 80
-
1http://stackoverflow.com/questions/5270272/how-to-determine-day-of-week-by-passing-specific-date – JackTools.Net Oct 29 '13 at 16:08
-
completely missed this! – DevC Oct 29 '13 at 16:12
1 Answers
0
It should be "F" : http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
new SimpleDateFormat("F").format(new Date());

Afshin Moazami
- 2,092
- 5
- 33
- 55

Alexander Kulyakhtin
- 47,782
- 38
- 107
- 158