There are functions to do this (a) in XPath 2.0 (and therefore Saxon) and
(b) in the EXSLT library - www.exslt.org
Michael Kay
-----Original Message-----
From: Gill, Fray [mailto:fray(_dot_)gill(_at_)csfb(_dot_)com]
Sent: 06 August 2004 18:37
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Manipulating Dates...serious help needed
Hi
can anyone help in the manipulation of dates?
What I am trying to do is subtract a number of days from a
date value (e.g.
2003-01-22 [yyyy-mm-dd]) based on a condition (typically
"if" or "choose").
The number of days subtracted will be another condition.
I must also ensure that the date I return is a valid business
day (Monday to
Friday).
Does anyone know of anyway / function I could use?
Thanks.
Fray
==============================================================
================
This message is for the sole use of the intended recipient.
If you received
this message in error please delete it and notify us. If this
message was
misdirected, CSFB does not waive any confidentiality or
privilege. CSFB
retains and monitors electronic communications sent through
its network.
Instructions transmitted over this system are not binding on
CSFB until they
are confirmed by us. Message transmission is not guaranteed
to be secure.
==============================================================
================
--+------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--