Local notification ,time setting
<p>HI All,</p>

<p>i am trying to use local notification
by using this</p>

<pre><code>NSDateComponents *dateComps = [[NSDateComponents alloc] init];

[dateComps setDay: [dateComponents day]];
[dateComps setMonth:[dateComponents month]];
[dateComps setYear:[dateComponents year]];
[dateComps setHour:[timeComponents hour]];  // Notification will fire in one minute

[dateComps setMinute:0 ];   //[timeComponents minute]];
[dateComps setSecond:60];   //[timeComponents second]];
</code></pre>

<p>and i hv string something like current time :  2011-03-26 11:59:31 GMT
according to which i need to set sec,min, hours.</p>

<p>How can i set min, week,month, year etc, to pop up notification in above condition??</p>

<p>Guidenece needed.</p>

<p>Appreciate it</p>
