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

RE: Date function in XSL

Subject: RE: Date function in XSL
From: "Krishnamurthy, Rama" <RKrishnamurthy@xxxxxxxx>
Date: Wed, 11 Oct 2000 12:05:20 -0400
current date function in xslt
Hi,
  Try this to get the current date in the required format

<xsl:eval>formatDate(new Date().getVarDate(), "MMMM dd',' yyyy");</xsl:eval>

Rama.

> -----Original Message-----
> From:	mxmodi@xxxxxxxxxxxxxxx [SMTP:mxmodi@xxxxxxxxxxxxxxx]
> Sent:	Wednesday, October 11, 2000 10:14 AM
> To:	xsl-list@xxxxxxxxxxxxxxxx
> Subject:	Date function in XSL
> 
> Hi,
> 
> Is there a date() function in XSLT? Here is what I am trying to do:
> 
> I read a range of values for a week from a XML file into a <select> box. I
> would like the current week to be the default week selected in the select
> box. I plan to achieve this with JAvascript onload() functionality. I am
> having trouble with passing the current date value into XSLT after it has
> been rendered.
> 
> Any ideas?
> 
> Thanks for the help.
> 
> Maulik
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 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.