xsl-list
[Top] [All Lists]

RE: adding a duration to a date/time

2004-06-17 12:50:44
On Thu, 17 Jun 2004, Josh Canfield wrote:

This will be tough to do without an extension function. Look at the
EXSLT date:

http://www.exslt.org/date/functions/add-duration/date.add-duration.html

I found another way of doing dates, which I use:

http://www.mail-archive.com/fop-dev(_at_)xml(_dot_)apache(_dot_)org/msg00963.html

My one-minute attempt to extend it for duration wasn't successful, but I
didn't try very hard. :)

If, for some reason, adding the EXSLT functions is problematic, there is
at least some level of fallback to java.

Though I did also bookmark this page, which seems quite useful:

http://www.oreilly.com/catalog/javaxml/chapter/ch09.html (search on
SimpleDate to see what I was looking at).

-- 
_Deirdre                                             http://deirdre.net
"Memes are a hoax! Pass it on!"



<Prev in Thread] Current Thread [Next in Thread>