DateTimeFormatInfo.ShortTimePattern : DateTimeFormatInfo « Date Time « C# / C Sharp

Home
C# / C Sharp
1.2D Graphics
2.Class Interface
3.Collections Data Structure
4.Components
5.Data Types
6.Database ADO.net
7.Date Time
8.Design Patterns
9.Development Class
10.Event
11.File Stream
12.Generics
13.GUI Windows Form
14.Internationalization I18N
15.Language Basics
16.LINQ
17.Network
18.Office
19.Reflection
20.Regular Expressions
21.Security
22.Services Event
23.Thread
24.Web Services
25.Windows
26.Windows Presentation Foundation
27.XML
28.XML LINQ
C# Book
C# / C Sharp by API
C# / CSharp Tutorial
C# / CSharp Open Source
C# / C Sharp » Date Time » DateTimeFormatInfoScreenshots 
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 PrintPatternString myCulture )  {
      DateTimeFormatInfo myDTFI = new CultureInfomyCulture, false ).DateTimeFormat;
      Console.WriteLine"  {0}     {1}", myCulture, myDTFI.ShortTimePattern );
   }
}

   
    
  
Related examples in the same category
1.CultureInfo Provides information about a specific culture
2.Determines the specific cultures that use the Chinese language, and displays the parent culture
3.Gets or sets a DateTimeFormatInfo that defines the culturally appropriate format of displaying dates and times.
4.Gets the list of calendars that can be used by the culture.
5.Custom Date and Time Format Strings
6.DateTimeFormatInfo Class
7.DateTimeFormatInfo.AbbreviatedMonthGenitiveNames
8.DateTimeFormatInfo.FullDateTimePattern
9.ALL the patterns
10.DateTimeFormatInfo.LongDatePattern
11.DateTimeFormatInfo.LongTimePattern
12.DateTimeFormatInfo.MonthDayPattern
13.DateTimeFormatInfo.RFC1123Pattern
14.DateTimeFormatInfo.ShortDatePattern
15.DateTimeFormatInfo.SortableDateTimePattern
16.DateTimeFormatInfo.UniversalSortableDateTimePattern
17.DateTimeFormatInfo.YearMonthPattern
18.To Short Date Time
19.To Date Time from dmtf date
java2s.com  |  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.