SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to create a date input box. When you select a date, it puts it in the format dd/mm/yyyy using the following Custom Field.

  <Field ID="{3a521b04-fca1-4707-9134-fa4acd1456d8}" Name="RegistrationDate"
       DisplayName="Registration Date"

I want the format to be for example: "Tuesday 6, 2011" Is there a way I can do it directly from here or do i have to use javascript on the client side.

share|improve this question

There are just two types of date format available in fields DateTime and DateOnly.

However there is a little workaround available: Create additional calculated field and in formula use:

=TEXT([Registration Date],"dddd d, yyyy")

This new will render your Registration Date field as you required.

share|improve this answer

There's a Data View format functionality that can be seen here: SharePoint Data View Web Part Extension Functions in the ddwrt Namespace

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.