I have a date - example - 22-09-2012(start date) I have to find my end date based on the current quarter
My input are month of the quarter which is a list box with values(1,2,3) , Day of the month in list box with values (Date as 1 to 31)
If my current quarter is 1 (Jan to Mar) thenin my month list box 1 will be january, 2 will be feb and 3 will be march Similarly this will vary for each quarter
Now I have selected my Month as 1, Since this quarter will be fourth quarter my month selected will correspond to september and my selected day of month is for example 6. Since 6 th is already past in month september, my Month selected from the month list box (that is 1) will correspond to the next quarter 1st month ( January)
If suppose my selected day of month is 23, it falls tomorrow and is not yet over so my end date should be calculated as 23-09-2012
How to find whether the day I have selected will be on the current quarter or in the next quarter
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.