summaryrefslogtreecommitdiff
path: root/notmuch.1
diff options
context:
space:
mode:
Diffstat (limited to 'notmuch.1')
-rw-r--r--notmuch.115
1 files changed, 15 insertions, 0 deletions
diff --git a/notmuch.1 b/notmuch.1
index eeb1a94..c5a7711 100644
--- 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