+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Blog date format.

Blog date format.

4 posts, 0 answered
  1. James@Nw
    James@Nw avatar
    265 posts
    Registered:
    05 May 2009
    28 Feb 2011
    Link to this post
    Hi guys,

    Currently, the date format for my reads as follows:

    28 February 2011.

    I would like it to read like this please:

    28 Feb '11

    How would I go about making a change like this?

    Thanks,
    James
  2. James@Nw
    James@Nw avatar
    265 posts
    Registered:
    05 May 2009
    01 Mar 2011
    Link to this post
    Anyone have a solution to this perhaps please?

    Thanks
  3. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    02 Mar 2011
    Link to this post
    Hi James@Nw,

    You can follow suggestions in this post to change the date time format.Another option is subscribing for ItemDataBound event of the public repeater control and there getting the data item which is IContent. From the IContent you can get the metakey - PublicationDate and parse it to the format you want.

    All the best,
    Ivan Dimitrov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  4. James@Nw
    James@Nw avatar
    265 posts
    Registered:
    05 May 2009
    17 Mar 2011
    Link to this post
    Thanks Ivan. Will look into this solution now!
Register for webinar
4 posts, 0 answered