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