date:difference problem

Bhushan Bhangale <[email protected]>
Newsgroups gmane.text.xml.xslt.extensions
Message-ID <F0987869DA71D8119E72000BCD682083024901C8@lmnukpriv.lastminute.com>
Hi,

I am using date:difference template to get the difference in days.	

	<xsl:call-template name="date:difference">
		<xsl:with-param name="start" select="string(date:date())"/> 
		<xsl:with-param name="end" select="'2004-08-01'"/>
	</xsl:call-template>

I get the output as P30D. I want to get the output in years and month also.
How can I do that?

Thanks
Bhushan

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. 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
________________________________________________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.