<$button class=<<tv-config-toolbar-class>> tooltip="New Journal Entry">{{$:/core/images/file}}
<$action-sendmessage $message="tm-new-tiddler" tags=" [[JournalEntry]] <<now 0DD.0MM.YYYY>> " />
</$button>
\define actions()
<$action-sendmessage $message="tm-new-tiddler" tags=" [[JournalEntry]] [[$(currentDateTime)$]] " />
\end
<$button class=<<tv-config-toolbar-class>> tooltip="New Journal Entry">{{$:/core/images/file}}
<$set name="currentDateTime" value=<<now "0DD. 0MM. YYYY">>>
<<actions>>
</$set>
</$button>
Use set or macro defines outside the widget to prepare the parameter for your widgets.
I wish someone told me this when I was first learning.
Tony