I am working on an application which needs scheduling (just like the one present in microsoft outlook meeting recurrence) feature. Where we can schedule the job daily, weekly, monthly and yearly and have variations under each schedule (e.g every second monday of month or every alternate monday of week etc).
It should basically work like it does in Microsoft Outlook meeting scheduling.
Any pointers, links, suggestions or any apis available that i could use to implement this logic will be of great help
Thanks
I recently worked on something similar, the main issue was finding the first day of the current week, from there it was relatively easy to find the day of the week required, and the other issue was finding the first day of the next month.
Here is the code to get
start of the next month (the 1st of the following month)
Hope this helps with getting the days of the week.