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'm trying to change the date format of blog posts and comments in Post.aspx, but having trouble. What I want to do is change the $thisNode/@PublishedDate value with $thisNode/@PublishedDate.MonthDayOnly, but I cannot find where to do that.

I've tried editing blog/Lists/Posts/Post.aspx with SharePoint designer, but because it doesn't render the actual blog post (i.e. there's no ?ID=2 in the design view of SPD), I cannot select the date to edit the formula, like I can with the blog home page.

I also tried editing blog.xsl in my hive, but nothing changes on the blog post view (unsurprisingly?)

Can anyone point me in the right direction so I can locate and change the formula for the Post.aspx post view and comment views?

share|improve this question
up vote 2 down vote accepted

See if this helps you:

It basically consists of:

  1. Make a copy of the blog.xsl from hive.

  2. Make your changes to the copy.

  3. Edit your Posts.aspx in SPD.

  4. Modify the XslLink property of the Posts webpart to point to your custom blog.xsl

share|improve this answer
Thanks for the link. Between that and another link I found, I was able to work out where and how to edit the xsl (my link:…) – QMKevin Jun 26 '12 at 16:02

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.