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!
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!

(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).
This can be ignored or deleted by the moderators (or by Bob).




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
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
Log in
to post a reply.