DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Fri, 17 Aug 2007 06:58:01 -0700,    posted on: microsoft.public.dotnet.xml        back       

Thread Index
  1    Prashant C
          2    Martin Honnen


DateTime Format   
I declared one element in my XML Schema as "xs:dateTime", when I validate the 
XML with the date in the format "dd/mm/yyyy", it shows the error that the 
give value is not valid, so my question is how to change the date format in 
XML Schema ?? 

Please, help me in solving the problem

-- 
Regards,
Prashant C
Date:Fri, 17 Aug 2007 06:58:01 -0700   Author:  

Re: DateTime Format   
Prashant C wrote:

> I declared one element in my XML Schema as "xs:dateTime", when I validate the 
> XML with the date in the format "dd/mm/yyyy", it shows the error that the 
> give value is not valid, so my question is how to change the date format in 
> XML Schema ?? 


xs:dateTime means yyyy-mm-ddThh:mm:ss.sss plus optional time zone 
information, see <http://www.w3.org/TR/xmlschema-2/#dateTime>.
There is also xs:date which has format yyyy-mm-dd 
<http://www.w3.org/TR/xmlschema-2/#date>.

-- 

	Martin Honnen --- MVP XML
	http://JavaScript.FAQTs.com/
Date:Fri, 17 Aug 2007 16:07:30 +0200   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us