Hi, Lisa

This request sounded familiar... I found a post from December that
should work for you.


eventDateStr = Field("Event Date");

//Turn that field data into a date object
dateObject = DateFromString(eventDateStr);

//When doing math on Date objects, note that we are dealing in
//the number of milliseconds since January 1, 1900.
dayInMilliseconds = 24 * 60 * 60 * 1000;

//This will now subtract the 1 day's worth of milliseconds from our date
object
return FormatDate(dateObject - dayInMilliseconds, "mm/dd/yy"); 

 

--Mark Hilger
  Product Manager
  Printable Technologies, Inc.

--
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
--

Reply via email to