Conditional Dates

B

Barry

I am trying to use the following statement in a mail merge
document:
{ IF { MERGEFIELD DATE } <= 11/15/2001
I have provided two options for the balance of the If Then
Statement however the results do not seem to have any
logic to which statement it provides.

Is there something special about using dates in an If then
condition?

Thanks
Barry
 
M

macropod

Hi Barry,

To do conditional tests like this with dates, you need to express them in
ISO format (i.e. yyyymmdd).

Try:
{ IF { MERGEFIELD DATE \@ yyyymmdd} <= 20011115

Cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top