Forums

Discuss all things Remember The Milk.

menu

Searching for all tasks that are due in the current month

(closed account) says:
Hi,

I would like to search my tasks that are due sometime during the current month. Is it possible to write a query to do that? I have not found a way to use duewithin or duebefore to accomplish that.

Basically, I would like to find all tasks that are due between 1st and the last day of the month no matter when I run the query.

Thanks in advance for your help.
sujit.ray
Posted at 3:00pm on November 6, 2013
raymond.bergmark Power Poster says:
For this, you need to make a bookmarklet.

javascript:function dateToString(date){ return date.getFullYear() + '-' + (date.getMonth() + 1) + '-' + date.getDate();}; startDateRange = new Date(); startDateRange.setDate(1); searchStr = 'completedAfter:' + dateToString(startDateRange) + ' and completedBefore:tomorrow'; document.getElementById("listFilter").value = searchStr; control.updateListFilter(); startDateRange = null;

Read more in this thread: http://www.rememberthemilk.com/forums/tips/16398

There you can find a bookmarklet for the weekend or last week, happy coding!
Posted 11 years ago
This topic has now been closed automatically due to a lack of responses in the past 90 days.