[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Date Difference

Subject: Re: Date Difference
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 19 Dec 2005 23:34:11 GMT
date difference example
> We all know that the conventional format for dates differs from place 
> to place. I don't think anyone was really confused by the examples in 
> the Original Posting, but some of us just couldn't pass up the 
> opportunity to dust of a chip-on-shoulder.

as I think I was probably the first to comment on that, this is probably
at least partly aimed at me. I think I did answer fully (as fully as I
had time for) and returned that date in iso format to make it clear I
had guessed the intended format, despite the comment at the top of my reply.

However the earlier comment was not just a gratuitous dig at North
America. It was a serious point, that (I would guess) that it was only
by coincidence that the day field in the example happened to be larger
than 12, if it had not been then I for one would certainly have read
both dates in European order, because er I'm European. If people
supplying explict regexp example solutions had made a similar error
their code would fail to give the desired answer. I've seen many a date
related thread lose time because of this, the comment was just a warning
(still necessary I think) to people makeing date related questions to
try to remember to explictly say they are using ddmmyyyy or mmddyyyy (or
yyyymmdd or whatever) format.

that said, I still respect your right to to keep the list on an even
keel and damp down inter continental bickering before it gets out of
hand, so I don't object to your comment (just disagree with it, a bit)

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.