Forums

Discuss all things Remember The Milk.

Can I see tasks overdue by 2 weeks?

(closed account) says:
I would like to see tasks that are dueWithin 2 weeks ago. Is there a way to do that without hard coding a date?

If I search for dueWithin:"2 weeks of today" it assumes 2 weeks in the future rather than 2 weeks in the past.
If I search for dueBefore:"2 weeks ago" it ignores the word "ago" and, again, assumes 2 weeks in the future.
Same with dueWithin:"2 weeks before today". It ignores the words "before today" and assumes 2 weeks in the future.

Is there a way to see all tasks that are 2 weeks or more overdue, or tasks that are overdue by no more than 2 weeks without hard coding a date?

Thanks!
Posted at 12:48pm on August 11, 2019
(closed account) says:
The real topic is in Help: https://www.rememberthemilk.com/forums/help/23239/

This can be ignored or deleted by the moderators (or by Bob).
Posted 4 years ago
kai.warszas says:
Are there any news for this topic? It would really be handy if I could create a smart list with e.g. tasks overdue by more than a week, more than x days or similar.
Posted 1 year ago
raymond.bergmark Power Poster says:
On my Christmas wish list for years:
Allow negative values in RTM searches.

I guess that I have to be (even) nicer to get this ;-)
Posted 1 year ago
laura.vazquez.n says:
i would love to use searches with relative days in the past, not with an specific date, please, please, please :D
Posted 7 months ago
dcullen says:
I add my voice to this chorus!
Posted 7 months ago
milene.cha says:
Me too
Posted 7 months ago
kjh says:
I whipped up a MilkScript that should do this, assuming I understood the problem correctly!

Create a new MilkScript and copy & paste the code from here:

https://raw.githubusercontent.com/kjhosein/rtm-milkscript-scripts/main/incomplete_tasks_due_x_days_ago.js

Right now, it defaults to 2 weeks ago (14 days), but it's easy to modify the # of days.
Search for the line

`const daysOld = 14;`

and update 14 to be whatever # of days you'd like.

WARNING:
Since I did this very quickly, there may be bugs. Please either reply here or create an issue in the GitHub repo:
https://github.com/kjhosein/rtm-milkscript-scripts/

HTH!

-- Khalid
Posted 14 weeks ago
laura.vazquez.n says:
Thank you Khalid!! I will review it
Posted 16 days ago
Log in to post a reply.