Skip to content
Duy Dao edited this page Jul 9, 2015 · 9 revisions

Commands

Command Alias Action
days day add one day per selection
weeks week add one week per selection
months month add a month per selection
end-of-month eom, last-day-of-month, ldom last date of month per selection
years year add one year per selection

Options

Option Alias Description
START_DATE used as start date for our date ranges. If not given, the current date will be used instead
x10 generate 10 dates. Can be any positive number

Examples

Command:

days x5

Result:

14.12.2014
15.12.2014
16.12.2014
17.12.2014
18.12.2014

Command:

days 22.07.2015 x10

Result:

22.07.2015
23.07.2015
24.07.2015
25.07.2015
26.07.2015
27.07.2015
28.07.2015
29.07.2015
30.07.2015
31.07.2015

Command:

weeks

Result:

14.12.2014
21.12.2014
28.12.2014
04.01.2015
11.01.2015

Command:

months

Result:

14.12.2014
14.01.2015
14.02.2015
14.03.2015
14.04.2015

Command:

end-of-month

Result:

31.12.2014
31.01.2015
28.02.2015
31.03.2015
30.04.2015

Command:

years

Result:

14.12.2014
14.12.2015
14.12.2016
14.12.2017
14.12.2018

We can add a start date to date range commands:

weeks 14.03.2015

Result:

14.03.2015
21.03.2015
28.03.2015
04.04.2015
11.04.2015

The date range command supports the newly introduced x-arg! Lets create 30 dates:

days x30
14.12.2014
15.12.2014
16.12.2014
...
10.01.2015
11.01.2015
12.01.2015

Clone this wiki locally