0

Generate columns out of a date filter

Hi everyone,

i have a given start date, lets say 05/01/12

Now, i want new columns named after the start date + 6 month.

f.e.
column1 | column2 | column3…
05/01/12 | june | july | august | september | october | november
07/01/12 | august | september | october | november | dezember | january

I hope that makes sense :)

From my point of view, it cant be that hard :D . I tried with several workarounds like creating arrays but then the sorting of the months is messed up.
btw. How do exclude empty values from an array created via NP(join) so that he only looks at "a", "b","c","d" when I split the array (;;;a;b;c;d;;) with NP(split)?

Any Ideas?

BR
Michael

4 comments

Please sign in to leave a comment.