ASP Error: 70
Description: Permission denied
Source: Microsoft VBScript runtime error

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

RE: Date formatting using XSLT extensions functions

Subject: RE: Date formatting using XSLT extensions functions
From: "Kaine Varley" <kaine.varley@xxxxxxxxxxxxxxxxxx>
Date: Mon, 28 Apr 2003 13:45:40 +0100
formatting dates using xslt
Neal,

Thanks for the suggestion; I'm sure I'll use some aspects of it.
However, rather than parsing the date as a string value, i.e. the
characters at position 4 and 5 equate to the month, I was hoping to deal
with the date as a proper date. The reason for this is because different
databases have ever so slightly different ideas of what a date looks
like, but the date handling objects in the scripting languages appear to
deal with this. For instance a date could appear in any of the following
formats:

	- 13/03/2003 4:58:32 pm
	- 2003-03-13 16:58:35
	- March 13, 2003


As you see simply parsing the date would give unexpected results, even
though the dates validate OK using the VBScript IsDate() function.
Besides, I suppose I'd like to know what I'm doing wrong when calling
the extension function.

Thanks again for your feedback.


Kaine



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.