Forum: Ruby days in this month

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9aa1e92a0ebb17fdaad2fa39b4c52b8a?d=identicon&s=25 misiek (Guest)
on 2006-02-01 23:28
(Received via mailing list)
How to get int of how many days got this month ?
C5eecd44fa818c7985d4f31bc2c42ac9?d=identicon&s=25 Eric Jacoboni (Guest)
on 2006-02-01 23:31
(Received via mailing list)
misiek <michaelaugustyniak@gazeta.pl> writes:

> How to get int of how many days got this month ?

You can look at the month_days method of the Time class.

I don't know why this method is private, though.
Cb48ca5059faf7409a5ab3745a964696?d=identicon&s=25 unknown (Guest)
on 2006-02-01 23:34
(Received via mailing list)
On Mon, 30 Jan 2006, misiek wrote:

> How to get int of how many days got this month ?

http://groups.google.com/group/comp.lang.ruby/brow...

hth.

-a
9aa1e92a0ebb17fdaad2fa39b4c52b8a?d=identicon&s=25 misiek (Guest)
on 2006-02-01 23:34
(Received via mailing list)
ara.t.howard@noaa.gov wrote:
> On Mon, 30 Jan 2006, misiek wrote:
>
>> How to get int of how many days got this month ?
>
>
> 
http://groups.google.com/group/comp.lang.ruby/brow...
>
>

thank you that is what I need
This topic is locked and can not be replied to.