<< dailyworkinghours << | Table Of Contents | >> date (extend) >> |
Keyword | date |
Purpose | A DATE is date and time specification similar to the ISO 8601 date format. Instead of the hard to read ISO notation with a TaskJuggler also supports simple date calculations. You can add or subtract a given interval from a fixed date. %{2009-11-01 + 8m} This will result in an actual date of around 2010-07-01. Keep in mind that due to the varying lengths of months TaskJuggler cannot add exactly 8 calendar months. The date calculation functionality makes most sense when used with macros. %{${now} - 2w} This results in a date 2 weeks earlier than the current (or specified) date. See duration for a complete list of supported time intervals. Don't forget to put at least one space character after the date to prevent TaskJuggler from interpreting the interval as an hour. Date attributes may be invalid in some cases. This needs special care in logical expressions. |
|
Syntax | (<DATE> | % { <DATE> (+ | -) <duration> (min | h | d | w | m | y) }) |
|
Arguments | duration | The duration of the interval. May not be 0 and must be a multiple of timingresolution. |
min | minutes |
|
h | hours |
|
d | days |
|
w | weeks |
|
m | months |
|
y | years |
|
Context | Global scope |
<< dailyworkinghours << | Table Of Contents | >> date (extend) >> |