tags:

views:

27

answers:

2

How to obtain a localized string representation of the weekdays like monday, tuesday, etc.?

Sure I could localize these myself but I bet that I can suck them out from a calendar class or something similar?

+1  A: 

Given a valid NSDate, NSDateFormatter can output the name of the weekday with the date format @"EEEE". I don't know of a simpler way to do this in Cocoa.

Ole Begemann
+1  A: 

Why don't you just use the monthSymbols array from NSDateFormatter?

progrmr