views:

26

answers:

0

Hi All,

I was using the following method for creating NSDate Object based on the timezone and locale.

   descriptionWithCalendarFormat:timeZone:locale:


[[NSDate date] descriptionWithCalendarFormat:@"%Y-%m-%d"
                                    timezone:nil
                                      locale:nil];

But this method is no more found in the documentation. Any alternative methods that i can use ??

Thanks