I find it a bit more straightforward to use the methods of the Date
object. See:
<http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Guide:Predefin
ed_Core_Objects:Date_Object>
And:
<http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Glob
al_Objects:Date>
You can use these in conjunction with FusionPro's built-in Date
functions, like so:
var MyDate = DateFromString("May 1, 2007");
MyDate.setDate(MyDate.getDate()-1);
return FormatDate(MyDate, "EE, lm dd, yyyy");
Dan
--
Users of FusionPro Desktop have unlimited free email support. Contact Printable
Support at [EMAIL PROTECTED]
--
View FusionPro Knowledge Base, FusionPro Samples at
www.printable.com/vdp/desktop.htm
--
You are currently subscribed to fusionpro as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
--
--
Note: All e-mail sent to or from this address will be received or otherwise
recorded by the e-mail recipients of this forum. It is subject to archival,
monitoring or review by, and/or disclosure to someone other than the recipient.
Our privacy policy is posted on www.printplanet.com
--