A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Java in General
Get first sunday of a month
Joined: Aug 30, 2009
Jan 28, 2012 00:49:47
I'm preparing calendar in
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?
Joined: Oct 13, 2005
Jan 28, 2012 03:12:35
What have you do so far?
Joined: Oct 27, 2005
Jan 28, 2012 09:50:40
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
Joined: Nov 09, 2010
May 31, 2012 09:36:38
Hi Dev Anand,
Use following code
[Moderator action: Removed code. @nvinod kumarjava , please
.(⇐click) Also removed color. That much color is hard to read.]
Joined: Jan 03, 2004
May 31, 2012 10:07:15
Nvinod Kumarjava, please see your private messages for an important administrative matter.
I agree. Here's the link:
subject: Get first sunday of a month
how to caculate first day / last day of a week ?
Help required for Calendar
Date Function - HOLIDAY
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015