I'm not exactly sure, what you're trying to achieve, but maybe it will help you iif you check the code of my dateTimeMacro located on http://tiddlystuff.tiddlyspot.com/
You can used built-in functions for date and time: $tw.utils.formatDateString(ts, format); where format could be for example: format = "YYYY-0MM-0DD 0hh:0mm:0ss"; -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.