Any way to find number of days in month using Objective C?

Posted by Tattat on Stack Overflow See other posts from Stack Overflow or by Tattat
Published on 2010-05-16T15:11:42Z Indexed on 2010/05/16 15:20 UTC
Read the original article Hit count: 226

Filed under:

Instead of calculating the month and leap year to do this calculation. Is there any way to check using some Apple Internal APIs to do so?

I found that the Java have something like this:

calendar.getActualMaximum(calendar.DAY_OF_MONTH) 

Is there any similar thing for Objective C? thz u.

© Stack Overflow or respective owner

Related posts about objective-c