LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel XML - Formating Dates

Hello All:

I have created a ASP.NET Web Application that takes the contents of DataSet
XML and Transforms the XML into Excel XML.

Ver: Excel XP
In the XML the dates are in the following format

<DateStamp2004-08-04T17:56:09.4330000-04:00</DateStamp
<DateStamp2004-08-05T15:59:17.6700000-04:00</DateStamp
<DateStamp2004-08-05T15:58:30.0770000-04:00</DateStamp

In my XSLT I have something like this
<Cell ss:StyleID="s30"<Data ss:Type="String"<xsl:value-of
select="DateStamp"/</Data</Cell

If I define the Datatype as a DateTime a error occurs, I would like to
format the date such as
Aug 8, 2004 12:23 AM

Is there a way I can format the date col to my worksheet so it is more human
readable.

Thanks
Stuart



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formating Dates LovingLife28 Excel Discussion (Misc queries) 4 May 6th 10 09:35 PM
Formating Dates Tom Roberts Excel Discussion (Misc queries) 3 August 10th 07 12:04 PM
Dates Formating gazmac1 New Users to Excel 5 June 8th 06 10:59 PM
Formating dates pcor New Users to Excel 6 April 13th 06 04:06 AM
Install dates formating using conditional formating? Jerry Eggleston Excel Discussion (Misc queries) 2 November 9th 05 05:49 PM


All times are GMT +1. The time now is 04:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"