Is there a way to add months to a date inline on a visualforce page?
Something along {!quote.ExpirationDate.addMonths(3)} is what I was thinking about but I guess the syntax isn't accepted.
Is there a way to add months to a date inline on a visualforce page?
Something along {!quote.ExpirationDate.addMonths(3)} is what I was thinking about but I guess the syntax isn't accepted.
You can use MONTH formula to get no of the Month from your date
For printing the name of the month use below
{!CASE(MONTH(quote.ExpirationDate), 1, "January", 2, "February", 3, "March", 4, "April", 5, "May", 6, "June", 7, "July", 8, "August", 9, "September", 10, "October", 11, "November", 12, "December", "None")}