Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML ADD DATE ERROR

Status
Not open for further replies.

aras61

Programmer
Jun 29, 2011
2
US
Hi,
I am trying to add columns on the receipt to be able to offer sale for the customers next trip if they spend more then $50. I want to put valid dates on the receipt by adding 7 days from the transaction date. I am new with XML and need help. When I add days it prints the date value instead of the date. I tried everything I know in VB like format date adddate etc. but failed to succeed.
Thanks in advance.
Here is the code:

<IF>
<CONDITION> (Transaction.SubTotal &gt; 49.99</CONDITION>
<THEN>
<ROW> "Take $10 OFF on your next purchase"</ROW>
<ROW>Transaction.Date + 7</ROW>
</THEN>
</IF>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top