How can I extract the hours, min, sec from the below mentioned format
<p>I am making an iphone application in which I want to implement the alarm concept. I am using time picker for time but I am getting the time <strong>2011-08-17 17:00:45 +0530</strong> in this format. Now I want to get the hours, min and seconds different by using range concept or any other concept. How can I do it. Please help me.</p>

<p>Thanks in advance.</p>
