Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • jing.ling 29 posts 20 karma points
    Mar 20, 2009 @ 02:48
    jing.ling
    0

    How to convert Date format? (problem sovled)

    Hi, I have a "date Picker" property on my Document Type and I am using XSLT file to select it and display on the page. But the default date format for "date Picker" is like "2009-03-20", actully I want the format is like "20 Mar 2009". How do I convert the format?

    Thanks

  • Tommy Poulsen 514 posts 708 karma points
    Mar 20, 2009 @ 07:43
    Tommy Poulsen
    0

    You can use the FormatDateTime library funtion.

    See http://en.wikibooks.org/wiki/Umbraco/Reference/umbraco.library/FormatDateTime for more details.

    Tommy

  • jing.ling 29 posts 20 karma points
    Mar 21, 2009 @ 00:32
    jing.ling
    0

    Thank you Tommy. it fixed my problem.

Please Sign in or register to post replies

Write your reply to:

Draft