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
PRIYAN NEERUDUPRIYAN NEERUDU 

i hv a formula(text)field named Compare_Date__c which gives date as mm/dd/yy and m comparing with vf page date picker date but cannot able to query further..

public string dt{set;get;}
if(dt!=NULL)
        {      
            queryString+=' and Compare_Date__c = \''+dt +'\'';
           System.debug('---------------------date---------------------------------'+queryString);
          
        }


<apex:param name="recDate" assignTo="{!dt}" value=""/>
 
Nayana KNayana K
You can try something like this :
if(dt!=NULL)
        {  
         Date dtCompare = Date.valueOf(dt);
            queryString+=' and Compare_Date__c =: dtCompare ';
           System.debug('---------------------date---------------------------------'+queryString);
          
        }
 
PRIYAN NEERUDUPRIYAN NEERUDU
thnk u.