title: iPhone sdk - Get date from NSFileCreationDate
body: <p>I get the created date and time of a file using <code>attributesOfItemAtPath:</code>. I get the <code>NSString</code> as result which displays <code>Date Created: 2011-08-23 10:47:33 +0000</code>. But, how can I retrieve the information about the date alone from the <code>NSString</code> ignoring the information about time. i.e. my result should be like <code>Date Created: 2011-08-23</code>.</p>