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
JimInSRQJimInSRQ 

Visualforce email, how to add n days to a date

I have the following which returns a date in my VF email, but I want to display that date + 3 days.  No search I've tried is yielding any results.
 

{!relatedTo.HW_Received_Complete_Date__c}
 

Thanks

Best Answer chosen by JimInSRQ
Alain CabonAlain Cabon
Hi,

{!relatedTo.HW_Received_Complete_Date__c + 3}  doesn't work ?

Regards.
 

All Answers

Alain CabonAlain Cabon
Hi,

{!relatedTo.HW_Received_Complete_Date__c + 3}  doesn't work ?

Regards.
 
This was selected as the best answer
JimInSRQJimInSRQ

Thanks Alain, that worked, only that it removes all date formatting.  No big deal, I can fix that.  Sometimes it's the simple things!!

Cheers...