Skip to main content

TrySet this in the URL doing:

?startDate={!URLENCODE(TEXT(object.Start_date__c))}

?startDate={!URLENCODE(TEXT(object.Start_date__c))}

and in the controller usertry this code:

Date startDate = Date.valueOf( EncodingUtil.urlDecode( ApexPages.currentPage().getParameters().get('startDate'), 'UTF-8') );

Date startDate =  Date.valueOf( EncodingUtil.urlDecode( ApexPages.currentPage().getParameters().get('startDate'), 'UTF-8') );

Try in the URL doing:

?startDate={!URLENCODE(TEXT(object.Start_date__c))}

in the controller user

Date startDate = Date.valueOf( EncodingUtil.urlDecode( ApexPages.currentPage().getParameters().get('startDate'), 'UTF-8') );

Set this in the URL:

?startDate={!URLENCODE(TEXT(object.Start_date__c))}

and in the controller try this code:

Date startDate =  Date.valueOf( EncodingUtil.urlDecode( ApexPages.currentPage().getParameters().get('startDate'), 'UTF-8') );
Source Link
Benjamin Pirih
  • 2.4k
  • 20
  • 30

Try in the URL doing:

?startDate={!URLENCODE(TEXT(object.Start_date__c))}

in the controller user

Date startDate = Date.valueOf( EncodingUtil.urlDecode( ApexPages.currentPage().getParameters().get('startDate'), 'UTF-8') );