Hi,
I have seen the date:difference function specified in the exslt, the
problem I see is that The number of months specified in the duration
must be less than 12, which may not be the case with me.
I definately need some other way to find the difference
Just use exslt and write it in
Hi,
I want to find the difference between 2 dates in cocoon 2.1.8. I have
the following pseudo code
xsl:variable name=current-date as=xs:date2006-10-23/xsl:variable
xsl:variable name=compare-date as=xs:date2006-10-12/xsl:variable
xsl:variable name=diff
/difference/index.html
I hope this helps.
Kind regards,
Jeroen Reijn
-Original Message-
From: Sanket Pattekar [mailto:[EMAIL PROTECTED]
Posted At: Thursday, December 28, 2006 6:32 PM
Posted To: Cocoon User List
Conversation: Using date difference with cocoon
Subject: Using date difference
Hi Sanket,
On Dec 28, 2006, at 9:31 AM, Sanket Pattekar wrote:
snip
If I run the same with saxon then, I get the correct difference, but
the same doesnot work inside cocoon.
Are you using Saxon in Cocoon?
—ml—
-
To
Hi,
I am not using Saxon inside cocoon, but run the same outside. Also I
have not defined the transformer, so it should be using the default
that is defined
I would check the exslt date functions, but how can I get the same
working using the standard xpath functions
Sanket
On 12/28/06, Mark
Hi,
I have seen the date:difference function specified in the exslt, the
problem I see is that The number of months specified in the duration
must be less than 12, which may not be the case with me.
I definately need some other way to find the difference
Sanket
On 12/28/06, Sanket Pattekar
On Dec 28, 2006, at 10:03 AM, Sanket Pattekar wrote:
I am not using Saxon inside cocoon, but run the same outside. Also I
have not defined the transformer, so it should be using the default
that is defined
I would check the exslt date functions, but how can I get the same
working using the