Date format in Out Put Text



         
                  <apex:column headerValue="Created On">
        <apex:outputText value="{0,date,dd/MM/yyyy}">
                   <apex:param value="{!obj.createdonDate}" />
         </apex:outputText>
  </apex:column> 

Comments

Popular Post

How to use Comparable Interface in Salesforce

Add and Delete Row functionality using wrapper class

Fetch Picklist value in LWC using Schema class