There are a number of classes in Java to work with dates and times. You'll want to use class java.util.Calendar for your task.
Have a look at the API documentation of that class and try to find out how to make a calendar for the current week. If you get stuck, please post again and explain exactly where you got stuck.
No, I'm not going to do your work for you. JavaRanch is not a code mill - we're not here to just give you the solution, but to help you learn Java.
Note that you can add attachments to your JavaRanch posts, see the "Attachments" tab below the editing window. There you can add a file with a screenshot, if you want.
Get to work...
nikunj shingala
Ranch Hand
Joined: Jul 20, 2009
Posts: 30
posted
0
where 1,2,3.... there i want to display date of current week