Hello,
I want to get week number and day number from given date.
Say Given date is "2009-03-12 16:11:09 +0530". On providing this date, it should give me result second thursday i.e 2 for second and 5 for thursday.
I am trying to get it using NSDateComponents and NSDayCalendarUnit.
Is it possible to have a day and week number for particular date ?
Thanks.
I want to get week number and day number from given date.
Say Given date is "2009-03-12 16:11:09 +0530". On providing this date, it should give me result second thursday i.e 2 for second and 5 for thursday.
I am trying to get it using NSDateComponents and NSDayCalendarUnit.
Is it possible to have a day and week number for particular date ?
Thanks.