You need to sign in to do that
Don't have an account?
PRIYAN 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=""/>
if(dt!=NULL)
{
queryString+=' and Compare_Date__c = \''+dt +'\'';
System.debug('---------------------date---------------------------------'+queryString);
}
<apex:param name="recDate" assignTo="{!dt}" value=""/>
if(dt!=NULL)
{
Date dtCompare = Date.valueOf(dt);
queryString+=' and Compare_Date__c =: dtCompare ';
System.debug('---------------------date---------------------------------'+queryString);
}