• Post Reply Bookmark Topic Watch Topic
  • New Topic

Get the system date  RSS feed

 
sajeevi bangamuwage
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I want to get the System date,month,year.

Also Iwant to to something like this.

1. want to get the 1st day(monday or tuesday etc..) of a particular month.
2. want to get how many dates are there in a selected month.

can u plz send me those things.

Thank you.
Sajeevi.
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See the java.util.Calendar class.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!