You need to sign in to do that
Don't have an account?
Andyux
Apex local date formating
I am displaying a few dates using
<apex:outputText value="{0,date,MMMM' 'dd', 'yyyy}"> <apex:param value="{!StrategicSales__c.Opportunity__r.CloseDate}" /> </apex:outputText>Which is OK. Any way i can display the date in mm/dd/yyyy OR dd/mm/yyyy - depending on the user local setting? i have US and other users.
Can you please try this code.
format()
Thanks,
Kapil