Article View: fr.comp.text.xml
Article #8964Re: format des dates
From: Thomas Broyer
Date: Tue, 03 Jul 2001 20:50
Date: Tue, 03 Jul 2001 20:50
18 lines
1731 bytes
1731 bytes
In <9hsiqr$86t$1@s1.read.news.oleane.net>, S. MARSOLLE wrote: > Y-a-t'il une norme �tablie pour le format des dates transport�s dans un > document XML ? Si le document peut un jour �tre soumis � validation par rapport � un XML Schema, cf. la Recommandation correspondante, partie 2 "Datatypes". <http://www.w3.org/TR/xmlschema-2/> Voir notamment le type "date" <http://www.w3.org/TR/xmlschema-2/#date> et l'appendice D "D ISO 8601 Date and Time Formats" <http://www.w3.org/TR/xmlschema-2/#isoformats> > en d'autre terme, vaut-il mieux avoir <madate>31/12/1999</madate> ou > <madate>1999-12-31</madate> dans un document XML qui va alimenter un �cran > dans le quel on d�sire afficher "ma date : 31/12/1999". Ce sera donc 1999-12-31 Tom.
Technical Details
Message-ID:
<1161782.qVoOGUtdWV@ltgt.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.251.151.101!opentransit.net!fr.clara.net!heighliner.fr.clara.net!proxad.net!feeder2-1.proxad.net!nnrp4.proxad.net.POSTED!not-for-mailReferences:
<9hsiqr$86t$1@s1.read.news.oleane.net>Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII X-Google-Thread: 114f60,a22546e76487e1f X-Google-Attributes: gid114f60,public X-Google-ArrivalTime: 2001-07-03 13:50:12 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.251.151.101!opentransit.net!fr.clara.net!heighliner.fr.clara.net!proxad.net!feeder2-1.proxad.net!nnrp4.proxad.net.POSTED!not-for-mail Message-ID: <1161782.qVoOGUtdWV@ltgt.net> From: Thomas Broyer <ptittom+news@free.fr> Subject: Re: format des dates Newsgroups: fr.comp.text.xml References: <9hsiqr$86t$1@s1.read.news.oleane.net> Lines: 18 Organization: </> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8Bit Date: Tue, 03 Jul 2001 20:50:11 GMT NNTP-Posting-Host: 217.128.160.206 X-Complaints-To: abuse@proxad.net X-Trace: nnrp4.proxad.net 994193411 217.128.160.206 (Tue, 03 Jul 2001 22:50:11 CEST) NNTP-Posting-Date: Tue, 03 Jul 2001 22:50:11 CEST