Objective-C Language System Locale Information


Example

+currentCalendar returns the logical calendar for the current user.

    NSCalendar *calender = [NSCalendar currentCalendar];
    NSLog(@"%@",calender);

+autoupdatingCurrentCalendar returns the current logical calendar for the current user.

NSCalendar *calender = [NSCalendar autoupdatingCurrentCalendar];
NSLog(@"%@",calender);