Hi Måns, Would this help to get to the right evaluated statement? http://www.w3schools.com/jsref/jsref_getday.asp
Something like: <<tiddler OnlyOnSundays if:{{(new Date()).getDay()==0;}}>> In case you have multiple valid weekdays, e.g. "weekends", you could check for... <<tiddler OnlyForWeekends if:{{ [0,1].contains((new Date()).getDay()); }}>> You could do a similar check for months for something like... "Welcome back to our new years special" But, if you really need the two alternatives, you might as well do this, without requiring CoreTweak 890 at all... <<tiddler {{ [0,1].contains((new Date()).getDay())?"WeekendTiddler":"WeekDayTiddler" }}>> Come to think of it, it much looks like one really never needs CoreTweak 890. Since <<tiddler "">> doesn't render anything, you can apply the above trick under any condition. So, your basic conditional tiddler makro simply looks like this: <<tiddler {{condition?"IfTrueShowThis":""}}>> Whereas condition corresponds to a syntactically correct boolean expression. That's quite some cool stuff. So, thanks for pointing it out, Måns! tb. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.