Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

of course, format the date in your silly MM/dd/yyyy format if you want too (see this stack exchange article with a link to the docco and a full list of the date formats). Note the   before the output text. Oh,  and if you want locale specific dates, you are out of luck it seems, based on this stack exchange article. (In my case, I want the dates to display in 

Dates and Times

Wow, I never knew this one. To display the date with time in your local timezone put a space before the field reference within the " ". Weird. 

<p>Start Date:&nbsp;<apex:outputText value="[JUST PUT A SPACE HERE]{!relatedTo.Campaign.StartDate}" /></apex:outputText></p>
<p>Start Date:&nbsp;<apex:outputText value=" {!relatedTo.Campaign.StartDate}" /></apex:outputText></p>

Anchor
testing
testing
Testing

...