How can I, in one line, generate all the dates with a constant day difference from one date to another?
For example, if I'm interested in dates in the interval staring from 24.4.2012 till 2015 and a 28 day difference.
|
How can I, in one line, generate all the dates with a constant day difference from one date to another? For example, if I'm interested in dates in the interval staring from 24.4.2012 till 2015 and a 28 day difference. |
||||
|
|
|
Perhaps this way:
Of course you might want to finetune the number of 28-day intervals. |
|||
|
|
|
Single liner using currently available commands and avoiding the legacy issues.
|
|||
|
|
|
You can use the built in
|
|||
|
|