Hi @vaishali
Try this below expression
DateTime.ParseExact(“Input String”,(“yyyy MM dd”),Globalization.CultureInfo.InvariantCulture).AddDays(-1).ToString(“dd”)
Result → 01
Refer the thread for more information
Regards
Gokul
Hi @vaishali
Try this below expression
DateTime.ParseExact(“Input String”,(“yyyy MM dd”),Globalization.CultureInfo.InvariantCulture).AddDays(-1).ToString(“dd”)
Result → 01
Refer the thread for more information
Regards
Gokul