Thank you Vladimir. I found a way that produced what I am looking for by adding these lines to my Reformat code and declaring variables and not using the parameters in the code:
while (length($in.0.Dates) > 0){
string today = date2str(today(), “M/dd”);
string day2 = date2str(dateAdd(today(),1,day), “M/dd”);
string day3 = date2str(dateAdd(today(),2,day), “M/dd”);
string day4 = date2str(dateAdd(today(),3,day), “M/dd”);
string day5 = date2str(dateAdd(today(),4,day), “M/dd”);
string day6 = date2str(dateAdd(today(),5,day), “M/dd”);
string day7 = date2str(dateAdd(today(),6,day), “M/dd”);
string day8 = date2str(dateAdd(today(),7,day), “M/dd”);
string day9 = date2str(dateAdd(today(),8,day), “M/dd”);
string day10 = date2str(dateAdd(today(),9,day), “M/dd”);
string day11 = date2str(dateAdd(today(),10,day), “M/dd”);
string day12 = date2str(dateAdd(today(),11,day), “M/dd”);
string day13 = date2str(dateAdd(today(),12,day), “M/dd”);
string day14 = date2str(dateAdd(today(),13,day), “M/dd”);
string day15 = date2str(dateAdd(today(),14,day), “M/dd”);
string day16 = date2str(dateAdd(today(),15,day), “M/dd”);
string day17 = date2str(dateAdd(today(),16,day), “M/dd”);
string day18 = date2str(dateAdd(today(),17,day), “M/dd”);
string day19 = date2str(dateAdd(today(),18,day), “M/dd”);
string day20 = date2str(dateAdd(today(),19,day), “M/dd”);
string day21 = date2str(dateAdd(today(),20,day), “M/dd”);
string day22 = date2str(dateAdd(today(),21,day), “M/dd”);
string day23 = date2str(dateAdd(today(),22,day), “M/dd”);
string day24 = date2str(dateAdd(today(),23,day), “M/dd”);
string day25 = date2str(dateAdd(today(),24,day), “M/dd”);
string day26 = date2str(dateAdd(today(),25,day), “M/dd”);
string day27 = date2str(dateAdd(today(),26,day), “M/dd”);
string day28 = date2str(dateAdd(today(),27,day), “M/dd”);
string day29 = date2str(dateAdd(today(),28,day), “M/dd”);
string day30 = date2str(dateAdd(today(),29,day), “M/dd”);
string a = date2str(poll($in.0.Dates),“M/dd”);
if (a == today) {
$out.0.Today = “U”;
}
if (a == day2) {
$out.0.Day2 = “U”;
}
if (a == day3) {
$out.0.Day3 = “U”;
}
if (a == day4) {
$out.0.Day4 = “U”;
}
if (a == day5) {
$out.0.Day5 = “U”;
}
if (a == day6) {
$out.0.Day6 = “U”;
}
if (a == day7) {
$out.0.Day7 = “U”;
}
if (a == day8) {
$out.0.Day8 = “U”;
}
if (a == day9) {
$out.0.Day9 = “U”;
}
if (a == day10) {
$out.0.Day10 = “U”;
}
if (a == day11) {
$out.0.Day11 = “U”;
}
if (a == day12) {
$out.0.Day12 = “U”;
}
if (a == day13) {
$out.0.Day13 = “U”;
}
if (a == day14) {
$out.0.Day14 = “U”;
}
if (a == day15) {
$out.0.Day15 = “U”;
}
if (a == day16) {
$out.0.Day16 = “U”;
}
if (a == day17) {
$out.0.Day17 = “U”;
}
if (a == day18) {
$out.0.Day18 = “U”;
}
if (a == day19) {
$out.0.Day19 = “U”;
}
if (a == day20) {
$out.0.Day20 = “U”;
}
if (a == day21) {
$out.0.Day21 = “U”;
}
if (a == day22) {
$out.0.Day22 = “U”;
}
if (a == day23) {
$out.0.Day23 = “U”;
}
if (a == day24) {
$out.0.Day24 = “U”;
}
if (a == day25) {
$out.0.Day25 = “U”;
}
if (a == day26) {
$out.0.Day26 = “U”;
}
if (a == day27) {
$out.0.Day27 = “U”;
}
if (a == day28) {
$out.0.Day28 = “U”;
}
if (a == day29) {
$out.0.Day29 = “U”;
}
if (a == day30) {
$out.0.Day30 = “U”;
}
}
Thanks again