Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have added RSS News Feed using RSS Web part in my application. Now I want to format the published date. I want it like below:

Today, October 09, 2012, 9 hours ago

  1. The parameters like Today, Yesterday should change dynamically.
  2. Also same for hours difference. Means if difference between published time & now is less that 1 min then it should show in seconds.

Can anyone let me know how to do that?

Thanks

Sanjay

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.