Hi Jon,
You can use this ugly macro below to "convert" any string like this:
"20/06/07" into this: "2020/06/07", assuming that the earliest year in your
range is the year 2000.
Paste this macro definition in a new tiddler:
\define UpdateDate(date)
<$vars
y={{{ [<__date__>split[/]nth[1]add[2000]] }}}
m={{{ [<__date__>split[/]nth[2]] }}}
d={{{ [<__date__>split[/]nth[3]] }}}>
<<y>>/<<m>>/<<d>>
</$vars>
\end
And then below that, put your input dates in the macro like this:
<<UpdateDate 20/06/07>>
When you save the tiddler the output will be rendered to this: 2020/06/07
You can wrap this macro in a filter to change all dates in one go and then
simply copy/paste the output.
The whole operation would probably be quicker and simpler using a text
editor as these are just strings, not to mention that the above macro can
probably be simplified to a one-liner. Anyway, just something quick.
Regards,
Hubert
--
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/32fb0248-9f8e-43d1-bca6-a19f016c12c6o%40googlegroups.com.