2

Got this code:

<apex:outputText value=" {0,date,MM/dd/yyyy }"> <apex:param value="{!IF(Lead.CreatedDate!=null,Lead.CreatedDate+90,'N/A')}"/></apex:outputtext>

how to format date from: 01/01/2017 to 1/1/2017?

1 Answer 1

4

Just change:

MM/dd/yyyy

to:

M/d/yyyy

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .