Skip to main content
Sooriya Kan (achievers) が「#Apex」で質問
i need to  select  two dates from visualforce page (calender )  after cliciking on the button , in apex controller i need to use those two dates for createddate in the quer

for example if i select 1/20/2017 and 2/20/207  as dates in my page , the query need to retrive data between those two dates in apex controller 
1 件の回答
  1. 2017年12月12日 17:52
    You can direclty use the these variables(both date) in your query.

    where createddate>:d1.

    Let me know if this helps else paste your code sample , wil help you.
0/9000