AnsweredAssumed Answered

Incremental Date Custom Function

Question asked by Hudi on Jul 3, 2014
Latest reply on Jul 3, 2014 by user19752

Hi and happy 4th to all.

 

I need some help creating a recursive custom function that will return an incremental list of dates.

 

Here's what I have so far. It's my fist attempt at a recursive function, up untli now I've been using the ones other have written. I'm hoping someone can tell me why so I can learn about recursive functions.

CFincrementDate ( startDate ; increment ; number_of_increments )

Case (

 

number_of_increments >1

; CFincrementDate ( startDate + increment & "¶" ; increment; number_of_increments -1 )

)

 

What I'd like to see is:

CFincrementDate ( 1/1/2014 ; 10 ; 3 )

 

1/1/2014

1/11/2014

1/22/2014

 

Thank you so much

Outcomes