]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch.1
make headers locally expandable/collapsable
[notmuch] / notmuch.1
index eeb1a948ac8c3da69915887a8adc8578a4c1c995..c5a7711fcf13459b854acd26b82ab633633b47a5 100644 (file)
--- a/notmuch.1
+++ b/notmuch.1
@@ -408,6 +408,21 @@ Parentheses can also be used to control the combination of the Boolean
 operators, but will have to be protected from interpretation by the
 shell, (such as by putting quotation marks around any parenthesized
 expression).
+
+Finally, results can be restricted to only messages within a
+particular time range, (based on the Date: header) with a syntax of:
+
+       <intial-timestamp>..<final-timestamp>
+
+Each timestamp is a number representing the number of seconds since
+1970-01-01 00:00:00 UTC. This is not the most convenient means of
+expressing date ranges, but until notmuch is fixed to accept a more
+convenient form, one can use the date program to construct
+timestamps. For example, with the bash shell the folowing syntax would
+specify a date range to return messages from 2009-10-01 until the
+current time:
+
+       $(date +%s -d 2009-10-01)..$(date +%s)
 .SH SEE ALSO
 The emacs-based interface to notmuch (available as
 .B notmuch.el