Possible Duplicate:
How do you calculate the day of the year for a specific date in Objective C
I am looking for a way to find the day number which has past in current year. For example if today was 2013-03-22 , then the number should be 81, because 81 day has past in 2013 year. It doesn't matter if it is a leap year or not.
So if anybody has some links or even a way how to do it, please share it with me. Thanks in advance!