using System; using System.Globalization; public class MainClass { public static void Main() { DateTime dt = new DateTime(2000, 1, 2); CultureInfo iv = CultureInfo.InvariantCulture; Console.WriteLine(dt.ToString(iv)); // 01/02/2000 00:00:00 Console.WriteLine(dt.ToString("d", iv)); // 01/02/2000 } }