Symbology change based on days past, and parsed by different attributes

Discussion created by webermosquito on Mar 11, 2020
Latest reply on Apr 2, 2020 by dougbrowning

I want to have a feature class known as "treatments" to change from green to red based on a certain number of days. Within treatments there is a attribute " product" and each product is effective for a number of days. In the attached picture is a sample code I was given by Mark Brockenhauer how would I go about modifying this for each product? For example, one named Natular 30 lasts 30 days and one named Vectobac lasts 6 days.