• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to find the particular day in given month of given year e.g.count all Mondays of November 2011

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
Sir


First I want to give you many thanks for the reply of my last question.Now I m generating the salary of employees so I have to count all his working days in a month but here is the problem that some employees have their weekend on Sunday and some have on Tuesday and so on.I need to count their working days to generate their salary.Please send me the code to count particular day of a given month of a given year.

Thanks in advance.


Cheers,
Shweta Chakrabaorty

 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Shweta Chakraborty wrote:Please send me the code to


We are NotACodeMill I have removed your mail ID from your post. Please UseTheForumNotEmail
What have you tried so far and where are you stuck? ShowSomeEffort
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also, not Swing related. Please CarefullyChooseOneForum. I'll move this to our Java in General forum. In the meanwhile you can take a look at java.util.Calendar and its get and add methods.
reply
    Bookmark Topic Watch Topic
  • New Topic