cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niels van Kampenhout" <n.vankampenh...@hippo.nl>
Subject RE: Getting current date in Cocoon
Date Wed, 27 Apr 2005 07:08:08 GMT
Chris Maloney wrote:
> Now, what I'd like to know is, is there any way to use this module
> to get different peices of the date (say, month and day, as separate
> parameters).  That seems to me that that would be easier than trying
> to parse the date within XSLT.

As an alternative you could use the EXSLT date functions: http://exslt.org/date/index.html.
For example, date:day-in-month() gives you the current day.

Niels

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message