Jeff,

Increment by one and similar operations is most easily achieved using Evans 
Formula plugin (Which includes date handling) or others that use the 
maths.js library.

I am lobbying for such increments and item counts to be in the core, soon 
we will have the range operator that will help in some cases, but dates are 
another matter

You may increment a week number but of course a week number greater than 
52? will most likely be invalid. that is the problem with date handling. 
Every value needs to be reset and don't tell me about days in the month or 
leap years/centuries.

If the tiddlers have VALID date fields, with future dates, perhaps 
populated by the Pickaday plugin, you can use the days operator to find 
them and once you have that date you can use the view widget to format date 
to extract the week number.

Regards
Tony

On Thursday, October 11, 2018 at 9:48:25 AM UTC+11, Jeff Vance wrote:
>
> I've been using the <<now>> macro to get current dates, year, week number, 
> etc.  I'm now facing a situation where I have to anticipate what *next* 
> week is going to be, based on the current week number.  I spent a lot of 
> time trying to figure out if it's possible and nothing is coming to mind. I 
> can get the current week number, but how would I increment it by 1?  Or how 
> to get next year?
>

-- 
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/75b60d64-3a8d-48a5-b006-b37a56844dbf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to