function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rana RoyRana Roy 

Opportunities close date between two dates on Visualforce Page

Hi Experts,
I am trying to develop a Visualforce Page where there will be two input boxes (From & To Date) for Date.
Based on these Input Boxes' Values, Opportunities whose close date come between this range will be displayed.

Any help will be appreciated.
GauravGargGauravGarg

Hi Rana,

Please follow below steps:
1. Use Input data field (date picker) that will provide you exact date formatting. 
2. Query Opportunity whose close date lies between these dates (inclusive).
3. Display on vf page with required fields. 
4. Remember to design vf page with Pagination to handle large bulk of data. 

Hope this solve your query. Please comment if you need more assistance. 
 

Thanks,

Gaurav
Skype: gaurav6290