Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
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
Paul Clapham
Ron McLeod
Jeanne Boyarsky
Tim Cooke
Sheriffs:
Liutauras Vilda
paul wheaton
Henry Wong
Saloon Keepers:
Tim Moores
Tim Holloway
Stephan van Hulst
Carey Brown
Frits Walraven
Bartenders:
Piet Souris
Himai Minh
Forum:
Java in General
Get first sunday of a month
Dev Anand
Ranch Hand
Posts: 41
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I'm preparing calendar in
Java
and display events like Friendships day, Mothers day etc.
Friendship day fall on first sunday of August.
I want to get the date of first sunday of a given month.
Can anyone help me in this regard?
Thank you.
Regards
Dev Anand
Campbell Ritchie
Marshal
Posts: 75653
354
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
What have you do so far?
Rob Spoor
Sheriff
Posts: 22647
126
I like...
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hint: use java.util.Calendar.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
nvinod kumarjava
Greenhorn
Posts: 1
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi Dev Anand,
Use following code
[Moderator action: Removed code. @nvinod kumarjava , please
DontBeACodeMill
.(⇐click) Also removed color. That much color is hard to read.]
Jeff Verdegan
Bartender
Posts: 6109
6
I like...
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Nvinod Kumarjava, please see your private messages for an important administrative matter.
Replace the word "snake" with "danger noodle" in all tiny ads.
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
how to caculate first day / last day of a week ?
Help required for Calendar
Date Problem
Date Function - HOLIDAY
DATE Problem
More...