Hi,Forum can u please rectify the error
Globalization namespace is missing before CultureInfo
You can try with this expression?
Use this System.Globalization.CultureInfo.InvariantCulture
DateTime.ParseExact(StringInput.ToString,"dd/MM/yyyy",System.Globalization.CultureInfo.InvariantCulture).ToString("dd/MM/yyyy")
Regards
Gokul
do the following:
your have mention
1.“dd/MM/yyy” instead of “dd/MM/yyyy”
2. System.Globalization-Library has to Initialize
use this Expression
DateTime.ParseExact(yourString.ToString,"dd/MM/yyyy",System.Globalization.CultureInfo.InvariantCulture).ToString
Thanks
Harivishnu