{note}
Pick a date: {formdate: YYYY-MM-DD; name=datechosen}
This is the date chosen: {=datechosen}
This is the date today: {datetoday=today()}{=datetoday}
{endnote: trim=right}
{if: datechosen = datetoday}Today{else}{=datechosen}{endif}
{note}
Pick a date: {formdate: YYYY-MM-DD; name=datechosen}
This is the date chosen: {=datechosen}
This is the date today: {datetoday=today()}{=datetoday}
{endnote: trim=right}
{if: datechosen = datetoday}Today{else}{=datechosen}{endif}