Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
kanchan
 
Posts: n/a
Default date type format which is supported by excel 2003

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.

  #2   Report Post  
Jon Peltier
 
Posts: n/a
Default

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.

  #3   Report Post  
Tushar Mehta
 
Posts: n/a
Default

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 ,
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
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
date format in Excel 2003 Chunt Excel Discussion (Misc queries) 1 September 15th 05 01:09 AM
Excel 2003, It wont print in landscape format STEVE665 Excel Discussion (Misc queries) 1 July 12th 05 04:47 PM
Format date in excel 2000 like '31st January 2005' Malcolm Agingwell Excel Discussion (Misc queries) 1 June 29th 05 12:01 PM
Excel 2000 date format cannot be set to Australian date format Brian Jones Excel Discussion (Misc queries) 1 March 30th 05 06:03 AM
Converting a date in Excel 2002 to a Year/Quarter format Jim Excel Worksheet Functions 2 January 10th 05 07:49 PM


All times are GMT +1. The time now is 08:55 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"