System.Globalization.DateTimeFormatInfo Class
Information   Base Types   Related Resources

Defines how DateTime values are formatted and displayed, depending on the culture.

  • Namespace: System.Globalization
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.1.4322
  • Assembly: mscorlib.dll

  • System.Object
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (4)Discussions (94)MembersRotorChanges
    Articles

    Page: 1
    An In-Depth Look at the DateTimeFormatInfo Class
    C#Today
    The DateTimeFormatInfo (DTFI) class is one of the most important members of the .NET System.Globalization namespace. Although acting mainly as the IFormattable interface for the DateTime structure, DTFI is also informational. You can, for example, find out the names of the days of the week and months of the year in native form, an amazing number of alternate date and time patterns that are acceptable in a particular culture, and which week is the first one of a new year. In addition, DTFI provides the main access to the more than half-dozen calendars supported by .NET. In this article, Bill Hall will show you how easy it is to use the facilities of DTFI, and will gain experience in writing code that functions correctly independently of language and world region.
    Custom String Formatting in .NET
    The Code Project
    Discusses the implementation of custom format providers for existing t ypes and custom formatting for user-defined types.
    Globalization in C#
    C#Today
    As application designers, we should strive to make sure our applications are as usable as possible, irrespective of where in the world the user resides. Win32 developers have long had access to functions that allow them to properly represent dates, currency values, and so on. Its important that whenever we have to show the user dates, times, monetary values, or numbers, we use the globalization features in .NET. These features use the globalization settings in Windows to properly format these values into strings for display. In this article, Matthew Reynolds looks at the basics of properly formatting dates, times and numbers for display. In the second part of the discussion, he looks at how we can build a Windows Form that can alter the text on the controls depending on the users settings.
    Using the DataGrid Server Control - Part 2
    DotNetJunkies
    Branimir explores some techniqes that can be performed with the DataGrid Server Control. In this second article of the series, he will explain how to use some of the editing and formatting features of the DataGrid.
    Ad
    MBR BootFX
    Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
     
     Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
    Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com