From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Christopher W. Ryan" Subject: how do I search state change dates? Date: Tue, 1 Jan 2019 14:16:27 -0500 Message-ID: <5a27130f-1c88-8fee-cd9b-0d46c138e0d1@binghamton.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41926) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gePWm-0003nH-5H for emacs-orgmode@gnu.org; Tue, 01 Jan 2019 14:16:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gePWi-0004jG-UR for emacs-orgmode@gnu.org; Tue, 01 Jan 2019 14:16:36 -0500 Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.225]:13053 helo=cdptpa-cmomta02.email.rr.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gePWi-0004iZ-Py for emacs-orgmode@gnu.org; Tue, 01 Jan 2019 14:16:32 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Org-mode mailing list I try to keep track of books I want to read, and when I eventually read them. I use TODO keyword for books I intend to read, and I change the state to READING and then DONE, as appropriate. Each state change gets a date/time stamp. My preamble is: #+TODO: TODO(t!) READING(r!) POSTPONED(p!) RESTARTED(s!) | DONE(d!) NA(n!) ABANDONED(a!) An entry for a book not yet read might look like this: ** TODO America: the Farewell Tour :PROPERTIES: :AUTHORLNAME: Hedges :AUTHORFNAME: Chris :ISBN: 9781501152672 :DATEADDED: <2018-10-10 Wed> :END: An entry for a book I've read might look like this: ** DONE Northland - State "DONE" from "READING" [2018-10-21 Sun 22:45] - State "READING" from "TODO" [2018-10-08 Mon 22:09] :PROPERTIES: :AUTHORLNAME: Fox :AUTHORFNAME: Porter :ISBN: 9780393248852 :DATEADDED: <2018-10-07 Sun> :END: How can I retrieve all the entries for the books I've read in 2018? In other words, all those that changed state to DONE in 2018? Thanks. --Chris Ryan