mail subject with text and variables

Hi Everyone,

I will send an email by script. In subject I need a text and the current date.

subject=(“WLAN-Key” [/system clock get date])

or

:local date [/system clock get date];
subject=(“WLAN-Key” [:put $date]);

won’t work. How can I solve this? I am grateful for every hint.

Bye

Sabrina

subject=(“WLAN-Key” . [/system clock get date])
or
subject=“WLAN-Key $[/system clock get date]”

or
:local date [/system clock get date];
subject=“WLAN-Key $date”