>
> On Aug 3, 2008, at 1:28 AM, Trygve Inda wrote:
>
>> Important: NSCalendarDate is slated for deprecation, and its use is
>> strongly
>> discouraged.
>> So what should I be using to get the month, year etc as ints out of an
>> NSDate?
>>
> Seriously?
>
> "Important: Use of NSCalendarDate stro
On Aug 3, 2008, at 1:28 AM, Trygve Inda wrote:
Important: NSCalendarDate is slated for deprecation, and its use is
strongly
discouraged.
So what should I be using to get the month, year etc as ints out of an
NSDate?
Seriously?
"Important: Use of NSCalendarDate strongly discouraged. It is n
I am using:
[[myNSDate dateWithCalendarFormat:nil timeZone:nil] monthOfYear];
But the docs say:
Important: NSCalendarDate is slated for deprecation, and its use is strongly
discouraged.
So what should I be using to get the month, year etc as ints out of an
NSDate?
Thanks,
Trygve
__