The generalised macro. Observe my outstanding issue,
- passing variables in the source parameter, *and how good is the mixed version?* Regards Tony \define new-date(format:"[UTC]YYYY0MM0DD000000000",source: "<<year>><<month>><<day>>0000000") <$wikify name="date" text="$source$" > <$view tiddler=<<date>> field="title" format="date" template="$format$"/> <$wikify> \end ;default from variables <$vars year=2001 month=01 day=01 > :Default serial <<new-date>> :Selected format <<new-date format:"[UTC] DDD DDth MMM YYYY">> ;I do not know how to pass the source `"<<year>><<month>><<day>>0000000` yet </$vars> ;From fields :State <<new-date source:"{{!!yyyy}}{{!!mm}}{{!!dd}}0000000">> :Selected format <<new-date format:"[UTC] DDD DDth MMM YYYY" source: "{{!!yyyy}}{{!!mm}}{{!!dd}}0000000">> ;From state :State <<new-date source:"{{year}}{{month}}{{day}}0000000">> :Selected format <<new-date format:"[UTC] DDD DDth MMM YYYY" source: "{{year}}{{month}}{{day}}0000000">> ;From mixed (Without variables) :State <<new-date source:"2017{{!!mm}}{{day}}1200000">> :Selected format <<new-date format:"[UTC] DDD DDth MMM YYYY" source: "2017{{!!mm}}{{day}}1200000">> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/6356573d-2578-48a6-9648-5e42ee3c02fa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.