This is a question specifically about Jed's day-diff macro:
http://inmysocks.tiddlyspot.com/#Date%20Macro%20Demos
but it may have a more general application about using field values in
macros generally
if I do this
<<day-diff 2019 10 14 2019 11 14>> days
I get this
31 days
but if I try these, none of them work:
<<day-diff {{mynow!!mynow}} 2019 11 14>> days
<<day-diff {mynow!!mynow} 2019 11 14>> days
where the tiddler "mynow" has a field called "mynow" that has value of
"2019 10 14"
I also tried (didn't work):
\define mynowtext()
<$view title="mynow" field="mynow"/>
\end
<<day-diff <<mynowtext\>\> 2019 11 14>> days
thanks,
- Dave
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/31e5859c-c3d2-4955-8d52-19293d289f06%40googlegroups.com.