DateTimeFormatInfo.ShortTimePattern
using System;
using System.Globalization;
public class SamplesDTFI {
public static void Main() {
Console.WriteLine( " CULTURE PROPERTY VALUE" );
PrintPattern( "en-US" );
}
public static void PrintPattern( String myCulture ) {
DateTimeFormatInfo myDTFI = new CultureInfo( myCulture, false ).DateTimeFormat;
Console.WriteLine( " {0} {1}", myCulture, myDTFI.ShortTimePattern );
}
}
Related examples in the same category