Hello all
This is a follow-up to this discussion How to calculate the number of days between the dates in two fields
In my TW i have adapted the code from the example in https://tiddlywiki.com/#DateFormat copied below, as suggested by @TW_Tones
However, the various fields, eg modified and created are in another tiddler, determined by using
<$select field="select" >
in the current tiddler.
I simply cannot work out the syntax in the following code
<$let
timestamp-modified={{{ [{!!modified}format:date[TIMESTAMP]] }}}
timestamp-created={{{ [{!!created}format:date[TIMESTAMP]] }}}
difference-days={{{ [<timestamp-modified>subtract<timestamp-created>divide[86400000]floor[]] }}}>
</$let>
to reference the fields in the tiddler determined by
<$select field="select" >
I thought it might be
timestamp-modified={{{ [{{select!!modified}}format:date[TIMESTAMP]] }}}
But that does not work!
Help would be greatly appreciated. Many thanks.