Results 1 to 4 of 4

Thread: [2005 Exp] DataSet.WriteXML - Date Format

Threaded View

  1. #1

    Thread Starter
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429

    Resolved [2005 Exp] DataSet.WriteXML - Date Format

    Hi Guys,

    I have a DataSet(Table) that amongst other things has a 'date' field.

    I currently have an 'Export to XML' feature that writes the data out using DataSet.WriteXML(somwhere),
    and I have a corresponding XSL file that formats the data for the Browser.

    All is good, except the 'Date' data is displayed in the following format: 2005-04-07T00:00:00+10:00.
    I would like the format to be like: 2005-04-07 (or better yet, 07 Apr 2005).

    I am aware the I may be able to use XSLT file and use some inbuilt functions, however, those posts I found are circa 2003.
    I was wondering if there is a better (.Net 2005) way.



    Cheers 'n' Beers.
    Last edited by Bruce Fox; Oct 21st, 2007 at 10:19 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width