Fine
welcome to uipath community
hope these steps would help you resolve this
–create a array variable of type string and define it with default value like
new string(2){} in the variable panel and name it arr_date
–now use input dialog box and get the first start date and store it to a string variable named str_startdate
–use a add to collection activity and in the property panel, mention the collection as arr_date and items as str_startdate and change the type argument as string
–again use another input dialog box and get the enddate to a variable of type string named str_enddate
–use another add to collection activity and in the property panle mentin the collection as arr_date and items as str_enddate and change the type argument as string
then we can use this arr_date array of string where we want by mentioning its index position to access the value
Cheers @Bojan_Tomsic