I want to know How do I find the date offset from beginning of year in iOS. I want a function which will take the date as an input and tell me the number of days passed.
For ex Jan 2 = 2nd Day of year and Feb 14 = 45th Day of Year
I want to know How do I find the date offset from beginning of year in iOS. I want a function which will take the date as an input and tell me the number of days passed.
For ex Jan 2 = 2nd Day of year and Feb 14 = 45th Day of Year