The below groovy script is divided into two steps in order to get a date (variable) called end_date_slice.
groovy
end_date_slice
(1) Calculate the