Days in this month

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

misiek [email protected] 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.

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/browse_thread/thread/6ce1b213b4bcd68b/82b296f0bbc1b1dd?q=howard+days+in+month&rnum=1#82b296f0bbc1b1dd

hth.

-a

[email protected] 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/browse_thread/thread/6ce1b213b4bcd68b/82b296f0bbc1b1dd?q=howard+days+in+month&rnum=1#82b296f0bbc1b1dd

thank you that is what I need

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs