I have date format MM/dd/yyyy I need to convert that into MM/dd/yy how to do this
You can use the following expression in the Assign activity:
formattedDate = DateTime.ParseExact(dateString.ToString,"MM/dd/yyyy", Globalization.CultureInfo.InvariantCulture).ToString("MM/dd/yy")
Here, dateString is your variable with the format MM/dd/yyyy.
Hope this helps,
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.