Solved

Format Date For XML

Posted on 2004-11-01
300 Views
Last Modified: 2010-05-18
Hello,

How can I assign a variable, make it a date type, and in the format of: 2004-04-27T12:00

Thanks!
Kev
0
Question by:porkapatamus
    3 Comments
     
    LVL 28

    Expert Comment

    by:mmarinov
    Hi porkapatamus,

    to you want to use xsltransform or where do you want to assing this variable ?

    Regards!
    B..M
    0
     
    LVL 8

    Accepted Solution

    by:
    Check this one...

    http://www.w3.org/TR/xslt20/#format-date

    check this link

    http://support.microsoft.com/default.aspx?scid=kb;en-us;811767 and modify it to u r format...
    0
     
    LVL 17

    Expert Comment

    by:AerosSaga
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    Want to pick and choose which updates you receive? Feel free to check out this quick video on how to manage your email notifications.
    This video discusses moving either the default database or any database to a new volume.

    845 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now