-5

Printin Java Date and Day's for a Week.

  • 3
    At least show some effort in writing question. Or at least a `question mark`. – Rohit Jain Feb 17 '13 at 09:18
  • Your answer is here: http://docs.oracle.com/javase/1.4.2/docs/api/java/text/SimpleDateFormat.html – kufudo Feb 17 '13 at 09:19
  • possible duplicate of [Is there a date format to display the day of the week in java?](http://stackoverflow.com/questions/5121976/is-there-a-date-format-to-display-the-day-of-the-week-in-java) – JB Nizet Feb 17 '13 at 09:19

1 Answers1

1
SimpleDateFormat format = SimpleDateFormat("EEE, dd/MM/yyyy").format(yourDateObject);

(sigh)

http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html

Aniket Inge
  • 25,375
  • 5
  • 50
  • 78