Okay, I've made an attempt <https://hegart-dmishiv.github.io/my-TW5-dev-instance/#%24%3A%2F_Macros%2FDaysToDate.js> at doing this myself. With my serious lack of programming skills, I've cobbled together something from the TiddlyWiki core module $:/core/modules/macros/now.js <http://tiddlywiki.com/#%24%3A%2Fcore%2Fmodules%2Fmacros%2Fnow.js> and the tutorial <https://blog.grade.net/how-to-create-a-simple-javascript-countdown-timer> I was looking at earlier. I didn't need the hours, minutes and seconds information, so I dropped all that guff. For now I went with only making a single call to the macro on loading a tiddler, rather than trying to make it dynamically updating at the top of the wiki instance as a MOTD. It seemed simpler to just at least display the number of days, once, statically.
However, I'm getting a big red Internal Javascript Error dialog box, which says "ReferenceError: assignment to undeclared variable DaysToDate". Could some kind Javascript guru take a look at my first teetering steps and let me know where I went wrong please? Also, I have no idea of the format to use when calling the macro. What I'm trying presently is *<<DaysToDate dd/mm/yyyy>>* but I'm not sure what date format it will take. Of course, the preexisting Internal Javascript error hampers my efforts so far to quantify this. ;-) -- 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 post to this group, send email to [email protected]. 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/f78bd74f-5829-4c0b-b21c-2c83e5c3e3d3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

