How to get all the days/dates in current week, this month, this year using the current date (today) in iPhone
问题 In my application i have to show list of working hours by date in a table view, Here i have 5 scenarios Today's projects, working hours Selected date projects, hours Cureent week (sunday-saturday) Current month (working hours in january, February if it is feb march if it is march) Current year (all working hours in 2013) i have implemented sqlite queries as follows, 1. Select Date, ProjectTitle, WorkingHours, sum(WorkingHours) from ProjDetailsTable where date = toDaysDate 2. Select Date,