Date Handling

Task reads dates from the command line, and displays dates in the reports.

In order to do this in a flexible way, task obeys a configuration variable that determines the expected and desired date format. See the Configuring Task page for details.

In addition to exactly specifying the date, such as:

% task ... due:7/10/2008

task supports a flexible variety of alternatives. For example:

% task ... due:today

Similarly:

% task ... due:yesterday
% task ... due:tomorrow

Here are some other forms that are accepted. The day number, followed by an ordinal:

% task ... due:23rd

End of month:

% task ... due:eom

End of year:

% task ... due:eoy

End of week (Friday):

% task ... due:eow

Next Friday:

% task ... due:Friday

Note that next Friday means seven days from now if today is Friday, otherwise it means the next occurring Friday. Most of these forms may be specified using abbreviations, provided they are unique. For example:

% task ... due:fri


Copyright 2006-2009, P. Beckingham. All rights reserved.