RE: [xsl] Manipulating Dates...serious help needed

Subject: RE: [xsl] Manipulating Dates...serious help needed
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 6 Aug 2004 18:49:58 +0100
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.gill@xxxxxxxx] 
> Sent: 06 August 2004 18:37
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> 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.
> ==============================================================
> ================

Current Thread