Skip to content

Instantly share code, notes, and snippets.

@jbro-io
Last active December 29, 2015 07:39
Show Gist options
  • Save jbro-io/7637445 to your computer and use it in GitHub Desktop.
Save jbro-io/7637445 to your computer and use it in GitHub Desktop.
Displays how to format a date field on a Visualforce page.
<apex:outputText value="{0,date,MM'/'dd'/'yyyy}">
<apex:param value="{!task.ActivityDate}" />
</apex:outputText>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment