------art_350_28673580.1204131311872
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On 27/02/2008, Shandy Nantz <shandybleu / yahoo.com> wrote:
>
> This is probably an easy question but I am trying to get at the number
> of days that are in a month. I have this calendar that I have built, the
> idea being that when a month turns from February to March, for example,
> the calendar should redisplay itself properly formated showing the new
> month and the correct number of days. I have it so that it starts
> counting the days on the right day of the week, but I have to know when
> to stop counting. Any ideas, Thanks,


i have not completely understood your problem, but there is a gem call
'date_utils' which does various calendar calculations.

See http://thopre.wordpress.com/2007/06/15/ruby-gem-of-the-week-200724/ for
some examples!

-Thomas

-- 
Thomas Preymesser
thopre / gmail.com
thomas / thopre.com
Bo: 030 - 830 353 88
mobil: 0176 - 75 03 03 04
Privat: 030 - 49 78 37 06
http://thopre.wordpress.com/
http://www.thopre.com/

------art_350_28673580.1204131311872--