CurrentInfo for es-ES : CultureInfo I18N « Internationalization I18N « VB.Net

Home
VB.Net
1.2D
2.Application
3.Class
4.Data Structure
5.Data Types
6.Database ADO.net
7.Date Time
8.Development
9.Event
10.File Directory
11.Generics
12.GUI
13.Internationalization I18N
14.Language Basics
15.LINQ
16.Network Remote
17.Reflection
18.Security
19.Thread
20.Windows Presentation Foundation
21.Windows System
22.XML
23.XML LINQ
VB.Net » Internationalization I18N » CultureInfo I18NScreenshots 
CurrentInfo for es-ES
   

Imports System.Globalization
Imports System.Threading

Module Module1
   Sub Main()
      Dim MyCulture As New CultureInfo("es-ES")
      Dim Myfmt As DateTimeFormatInfo
      Dim fmt1 As DateTimeFormatInfo

      Myfmt = MyCulture.DateTimeFormat
      fmt1 = DateTimeFormatInfo.CurrentInfo

      Console.WriteLine(Myfmt.GetMonthName(12))
      Console.WriteLine(fmt1.GetMonthName(12))
      Console.WriteLine(Thread.CurrentThread.CurrentCulture.DateTimeFormat.GetMonthName(12))
   End Sub
End Module

   
    
    
  
Related examples in the same category
1.List all Culture InformationList all Culture Information
2.String in Your LanguageString in Your Language
3.Gets the culture types that pertain to the current CultureInfo object.
4.Gets the CultureInfo that represents the culture used by the current thread.
5.CultureInfo.DisplayName
6.whether the current CultureInfo represents a neutral culture.
7.Tells whether the current CultureInfo is read-only.
8.Gets the CultureInfo that represents the parent culture of the current CultureInfo.
9.Defines the types of culture lists that can be retrieved using the CultureInfo.GetCultures method.
10.Console fallback UI culture
11.Determines the specific cultures that use the Chinese language, and displays the parent culture
12.Comparing and Sorting Data for a Specific Culture
13.Gets the list of calendars that can be used by the culture.
14.Display string representations of numbers for en-us culture
15.Specific culture double value format
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.