date as string = today
I want to check status date from webservice (dev completed)
If value date = true -----> loop day -1
value date = false ( date-1)and count +1
loop until count =3 and get date to output.
date as string = today
I want to check status date from webservice (dev completed)
If value date = true -----> loop day -1
value date = false ( date-1)and count +1
loop until count =3 and get date to output.
You can use While loop and condition as count <> 3
Inside that you can check you condition
Hope this may help you
Thanks
@Srini84 If out_Result = false , I want to -1 day from now and count +1
I assign date = System.DateTime.Now.ToString(“yyyy/MM/dd")
I can’t -1 day from date and count+1 until count =3
Guide me about it please.
Check as below
Likewise in Else you can keep convert.ToDateTime(CalculateDate).AddDays(1).ToString
This will add a date
Mark as solution if this help you
Thanks