📅  最后修改于: 2022-03-11 14:49:12.710000             🧑  作者: Mango
DateTime Date1 = DateTime.Parse("04-08-2021 00:00:00");
Console.WriteLine(Date1.ToString("MM/dd/yyyy", CultureInfo.InvariantCulture));