Customizing DateTime format on a List view Web part


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([Column Name],”dd mmm yy”) – To Display the Date Only

=TEXT([Column Name],”hh mm”) – To Display the Time Only

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: