PC Review


Reply
Thread Tools Rate Thread

date type format which is supported by excel 2003

 
 
=?Utf-8?B?a2FuY2hhbg==?=
Guest
Posts: n/a
 
      21st Sep 2005
please tell me the date type format which is supported by excel 2005.

i'm using xsd also for importing xml into excel and specified date type or
datetime type there in xsd but it is imoprting it as text.giving error this
error it is imorting as text.

the format which i specified is yyyy-MM-dd hh:mm:ss aaa in my jsp which is
throughing xml.

 
Reply With Quote
 
 
 
 
Jon Peltier
Guest
Posts: n/a
 
      21st Sep 2005
This depends on your regional settings. I'd suspect that either of these
would be interpreted as numerical dates by Excel (depending on whether
it's US or Rest of World format):

dd-MM-yyyy hh:mm:ss
MM-dd-yyyy hh:mm:ss

What's the "aaa" at the end of your format string? That may also be
contributing the the textification of your dates.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______


kanchan wrote:

> please tell me the date type format which is supported by excel 2005.
>
> i'm using xsd also for importing xml into excel and specified date type or
> datetime type there in xsd but it is imoprting it as text.giving error this
> error it is imorting as text.
>
> the format which i specified is yyyy-MM-dd hh:mm:ss aaa in my jsp which is
> throughing xml.
>

 
Reply With Quote
 
Tushar Mehta
Guest
Posts: n/a
 
      21st Sep 2005
Option 1: Use XL to give you the answer. Enter a in a XL worksheet.
Save the file in XML format. Check the XML file using a text editor.

Option 2: Recognize that XL stores dates as a whole number with 1 being
1/1/1900 and time as a fraction of a number with 0.0=midnight and 1.0
=next midnight.

Personally, I would go with 1.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Multi-disciplinary business expertise
+ Technology skills
= Optimal solution to your business problem
Recipient Microsoft MVP award 2000-2005

In article <AB57B84F-91D8-4343-9B6C-(E-Mail Removed)>,
(E-Mail Removed) says...
> please tell me the date type format which is supported by excel 2005.
>
> i'm using xsd also for importing xml into excel and specified date type or
> datetime type there in xsd but it is imoprting it as text.giving error this
> error it is imorting as text.
>
> the format which i specified is yyyy-MM-dd hh:mm:ss aaa in my jsp which is
> throughing xml.
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I change date yyyymmdd to a Excel-supported date format? dan Microsoft Excel Worksheet Functions 3 6th Jul 2008 11:05 PM
date format in Excel 2003 =?Utf-8?B?c3B0cGVuc2lvbnM=?= Microsoft Excel Worksheet Functions 4 20th Aug 2007 05:58 PM
Cant get dd/mm date format in Excel 2003 =?Utf-8?B?S2V2cnls?= Microsoft Excel Misc 9 17th Jun 2007 04:00 AM
Microsoft Excel Viewer 2003 Supported file type =?Utf-8?B?SmlhbiBNaW5n?= Microsoft Excel Misc 2 18th Jul 2006 04:03 AM
FileDialog type not supported in versions prior to 2003 Boxington Headmaker Microsoft Access 1 29th Mar 2005 10:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:47 AM.