Hi,
For now, can you try to add Trim as the following?
datetime.ParseExact(OutputTextSQL.Trim(),"MM/dd/yyyy", System.Globalization.CultureInfo.InvariantCulture).ToString("MMMM yyyy")
If the above doesn’t work, can you share error message and content of OutputTextSQL in LocalsPanel?
Regards,