AnsweredAssumed Answered

Need to generate some sequential dates in DPH based on the date input string

Question asked by Gowrisanariv on Dec 28, 2017
Latest reply on Dec 28, 2017 by Vinay Nagariya

I have to generate some sequential dates in DPH based on the start date input string.

 

For Eg.

StartDate="2017-12-30"  //its coming from the VSE request

 

Following dates need to be generated in DPH at VSM Model, filter section

StartDate1 = 2017-12-31

StartDate2 = 2018-01-01

StartDate3 = 2018-01-02

StartDate4 = 2018-01-03

StartDate5 =2018-01-04

StartDat6= 2018-01-05

 

Finally i will be setting these dates in different arguments like as follow which will be referred in the VSI response section

testExec.setStateValue ("stDate1",StartDate1 );

testExec.setStateValue ("stDate2",StartDate2 ); 

 

...  Etc.

 

Tried multiple ways , could not find the solution. Please help me on this if anyone does already.

 

Thanks,

Gowri

Outcomes