You need to sign in to do that
Don't have an account?

Date time field
Iam trying to render a document as pdf , & created a VF page but when its displaying data on the page its showing date with the time
"Tue Apr 13 00:00:00 GMT 2010" in this format where as i want it to display just the date . how do i do it |
I would format the date you way you want into a string placeholder of some sort and just print that value.
All Answers
Try doing this on your visualforce page
<apex:outputText value="{0,date,d}">
<apex:param value="{!yourObject.yourDate}" />
</apex:outputText>
I would format the date you way you want into a string placeholder of some sort and just print that value.
Thanks , it worked