You need to sign in to do that
Don't have an account?
Sivakumari2i
Calculate day of Quarter
I am new to visualforce. Right now i am facing the following problem. Please help me.
I am designing a dashboard using visualforce. Can any one help me to include a drop down list box in visualforce, so that user can select a close quarter?
eg : Close Quarter
Q3 2012
If User selects a Quarter, then i have to display the day of the quarter in visualforce page in the following format.
Q3 2012 Day 42 of 92
Please help me with some code to achieve this .its urgent
Regards,
S.Sivakumar
Perhaps I can help, If I knew what you meant by the "day of the quarter"?
A day inside the quarter?
The day in the year the quarter starts? (e.g. 45 of 365) - not sure where 42 of 92 was coming from
Cheers
Hi Adam,
Actually i used Q3 2012 as an example.
I have to implement thefollowing scenario.
Q3 2012 has 92 days and if i user logs on 42 day of the that particular quarter(Q3 2012) then i have to display 42 day of 92.
Suppose Q3 2012 has passed and you are in Q4 2012 and if user selects Q3 2012 then i have to display 92 of 92 and if user selects Q4 2012 then i have display current day of that quarter.
I think it clears yout doubt.
Regards,
S.Sivakumar
Hi Adam,
Thanks for your reply. Can you share some code to design a picklist (i.e) Combo box in visualforce page?
Thanks,
S.Sivakumar