ok try this
var date start = If(DayOfWeek(ToDate([ppcd_formula]))=6,ToDate([ppcd_formula]), PrevDayOfWeek(ToDate([ppcd_formula]), 6));
var date end = If(DayOfWeek(ToDate([ppcd_formula]))=5, ToDate([ppcd_formula]),
NextDayOfWeek(ToDate([ppcd_formula]), 5));
// the text above does not change.
// then followed by this .....
var text StartYYYYMMDD =
List("-", ToText(Year($Start)),
Right("0" & Month($Start),2),
Right("0" & Month($Start),2));
var text EndYYYYMMDD =
List("-", ToText(Year($End)),
Right("0" & Month($End),2),
Right("0" & Month($End),2));
List(" to ", $StartYYYYMMDD, $EndYYYYMMDD)
------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------