How to change the Date format in Visual force:-
Hi Guys ,Now i am going to tell, Changing the date format in VF page.
Example:- Here i need Today Date in this format " February 15th, 2013"
Here we go like,
<apex:outputText value="{0,date,MMMMMMMM d'th', yyyy}">
<apex:param value="{!Today()}" />
</apex:outputText>
If Date/Datetime field taking from Apex . if you want to display above format.
<apex:outputText value="{0,date,MMMMMMMM d'th', yyyy}">
<apex:param value="{!variablename}" />
</apex:outputText>
<apex:param value="{!Today()}" />
</apex:outputText>
If Date/Datetime field taking from Apex . if you want to display above format.
<apex:outputText value="{0,date,MMMMMMMM d'th', yyyy}">
<apex:param value="{!variablename}" />
</apex:outputText>