How to convert NSDate to german Date?
<p>I have implemented one iphone application in which I want to convert NSDate to NSString but in german format.</p>

<p>Can you give me some idea about that.</p>

<p>I am using below code.</p>

<p>NSDate *date = [NSDate dateWithTimeIntervalSince1970:[[eventInfo valueForKey:@"startdat"] intValue]];</p>

<p>//2011-05-01 21:04:00 +0000(I am geeting this date)</p>

<pre><code>    NSDateFormatter *formatter1 = [[NSDateFormatter alloc] init];
    NSLocale *nl_NL = [[NSLocale alloc] initWithLocaleIdentifier:@"de_DE"];

        [formatter1 setDateFormat:@"E,dd MMM yyyy"];
    [formatter1 setLocale:nl_NL];

    NSString *stringFromDate1 = [formatter1 stringFromDate:date];
    [formatter1 release];
    [nl_NL release];
</code></pre>

<p>//I am getting stringFromDate1 = "Mo.,02 Mai 2011" value.(wrong output)</p>

<p>Please give me idea</p>
