This keeps resulting in no discount even though the current date is between the start and end date.
Where is my mistake? <@IF EXPR='<@DATETOSECS DATE='<@VAR NAME="user$discountStart" FORMAT="DATETIME:%m/%d/%Y">'>><@DATETOSECS DATE="<@CURRENTDATE>" > && <@DATETOSECS DATE='<@VAR NAME="user$discountEnd" FORMAT="DATETIME:%m/%d/%Y">'><<@DATETOSECS DATE="<@CURRENTDATE>" >'> Discount <@ELSE> No Discount </@IF> -- Dan Stein Digital Software Solutions 799 Evergreen Circle Telford PA 18969 Land: 215-799-0192 Mobile: 610-256-2843 Fax 413-410-9682 FMP, WiTango, EDI,SQL 2000 [EMAIL PROTECTED] www.dss-db.com ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
