07 Jan, 2009
Customizing DateTime format on a list view web part
Posted by: Toni Frankola In: SharePoint ![]()
In order to make SharePoint really functional sometimes little things count. Few weeks ago a customer wanted to display only Date partition of Created value in a list view web part.
Let’s say I want to display a list of “My Active Tasks” on a list web part.

The time partition of the information is irrelevant for this web part. Time is just using space we need to display Title.
SharePoint does not allow you to format the output in a list view web part. Here is a little trick on how to fix that.
- Create a new calculated column for your list (single line of text)
- Use the following formula to calculate its value
=TEXT(Created,"dd mmm yy")
Use the new column to display in your list. It will look like this one:

Paul Grenier wrote a post about similar problem. He used a JQuery to modify Calendar View. It looks like this:
