例如:dd / MM / yyyy或MM / dd / YYYY
using System.Globalization; ... ... ... var myDTFI = CultureInfo.CurrentCulture.DateTimeFormat; var result = myDTFI.FullDateTimePattern;