> <<newTiddler title:{{new Date().formatString("YYYY0MM0DD_0hh:0mm")}}
>  label:"Test">>

Actually, that won't achieve the correct results.

The value of the {{...}} evaluated parameter is computed when the
macro is *rendered* (i.e., when the "new tiddler" command link is
created... NOT when the command is *invoked*.  Thus, every time you
click the command link, it will attempt to create a tiddler with the
SAME, fixed-value timestamp.

However... there *is* a built-in TWCore macro that *does* compute a
time-stamp when invoked:  The <<newJournal>> macro works just like the
<<newTiddler>> macro but, in addition, it pre-processes the 'title'
parameter (if specified) to replace date formatting codes with the
current date values.

Thus:  <<newJournal title:YYYY0MM0DD_0hh:0mm ...>>

enjoy,
-e


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to