I have a series of actions which pulls a variable in the format yyMM (ie 2008 is August 2020).
I have successfully converted this variable to datetime format using:
Datetime.ParseExact(PRD,“yyMM”,globalization.CultureInfo.InvariantCulture)
then added a month to the date with
PRDdate.AddMonths(1)
all in assign activities, but now I need to convert that datetime with the month added to it back into the string format of yyMM to enter back into a terminal. How can I convert back to string in that very specific format?