About Between date

Hi to All,

In the search, I need to use a field date with condition between.
How can initialize 2 variables with the 2 values entered in the between condition?

Your field: yourdatum

{yourdatum} = $firstdate;
// between 2 values …
{yourdatum_2} = $lastdate;

Hi Reinhard
If I understand correctly the first value has the same name of my field (without suffix) and the second is my field with suffix _2.
Is it right?

Yes, try it with suffix _2.