[TW5] can you list tiddlers where mgtd_date exists and is within 5 days of current date?

56 views
Skip to first unread message

Bill Dixon

unread,
Oct 12, 2016, 4:32:31 PM10/12/16
to TiddlyWiki
This is for the GTD version of TW.

At the risk of sounding like I want to use Actions as though they were Ticklers (which I almost am), if I define a date in Due Date, I would like to create a review tiddler that lists all actions with a Due Date that is 5 days from now or sooner.  In other words, the Due Date indicates that it is due within the next 5 days.  (Or past due.)

To get a list of all Action items with a Due Date, I put this within a tiddler:
<<dGSDList
    where:tiddler.fields.mgtd_date
    tags:Action
    view:Action
    mode:global
    >>

But that is all Action items with a Due date.  I don't want Action items with a Due date more than 5 days out.
So, I want is to be able to include a line that reads something like this:
     where:tiddler.fields.mgtd_date < today + 5

I've tried everything I can think of, and nothing works.  Yes, I could convert the Action to a Tiddler, but if you can't do something like this, then what's the purpose behind being able to set a Due Date for an Action tiddler?

Bill

PMario

unread,
Oct 13, 2016, 8:28:02 AM10/13/16
to TiddlyWiki
Hi Bill,

Did you have a closer look at the "days" filter operator? see: http://tiddlywiki.com/#days%20Operator%20(Examples):%5B%5BFilter%20Operators%5D%5D%20%5B%5Bdays%20Operator%5D%5D%20%5B%5Bdays%20Operator%20(Examples)%5D%5D

... but it may depend on the TW date format. So if mgtd_date is different it won't work without modifications.

-m
Reply all
Reply to author
Forward
0 new messages