I want my datetime to be converted to a string that is in format \"dd/MM/yyyy\"
Whenever I convert it using DateTime.ToString(\"dd/MM/yyyy\"), I get
DateTime.ToString(\"dd/MM/yyyy\")
Pass CultureInfo.InvariantCulture as the second parameter of DateTime, it will return the string as what you want, even a very special format:
DateTime.Now.ToString("dd|MM|yyyy", CultureInfo.InvariantCulture)
will return: 28|02|2014