[tw] Re: [TWC] DatePlugin question

2015-06-23 Thread Eric Shulman
On Tuesday, June 23, 2015 at 8:00:35 AM UTC-7, jpt wrote: Using a suggestion that was made in this group I am able to display a tiddler titled with a specific date (20150623 for example) by writing this: tiddler {{(newDate()).formatString ('0MM0DD')}} However I can not figure out how

[tw] Re: [TWC] DatePlugin question

2015-06-23 Thread jpt
Thank you. I understand now that in TWC macros generate and render DOM elements and cannot be used as parameters for other macros. For whatever reason I still have trouble with the code. When I write tiddler {{(new Date(new Date() + 8640).formatString('0MM0DD')}} it gives me Error in

[tw] Re: [TWC] DatePlugin question

2015-06-23 Thread Eric Shulman
On Tuesday, June 23, 2015 at 10:32:54 AM UTC-7, jpt wrote: For whatever reason I still have trouble with the code. When I write tiddler {{(new Date(new Date() + 8640).formatString('0MM0DD')}} it gives me Error in macro tiddler. What did I miss? You have an extra open parentheses,

[tw] Re: [TWC] DatePlugin question

2015-06-23 Thread jpt
Dear Mr Shulman, Thank you very much! It got me in the right direction. Still was not able to get tomorrow's tiddler displayed no matter that the error message disappeared. Until I read somewhere to put a + in front of the second new Date. Like so: tiddler {{new Date(+ new Date() +