NSDateFormatter to change a string
<p>I have a string in this format "dd.mm.yy" (23.08.10).
I would like to convert them to a Date format using </p>

<pre><code>NSDate *currentDate = [[NSDate alloc] initWithString:new.date];
</code></pre>

<p>But i need a format like this: "yyyy-mm-dd HH:MM:ss +0000" to compare two dates!
How can I do that? I know that I have to user NSDateFormatter but I dont know how to use it.</p>

<p>Thanks</p>
