DelphiBasics
  Home  |  Delphi .net Home  |  System.Globalization NameSpace
 .NET Framework
 Namespace References

 System
 System.Collections
 System.Globalization
 
  Calendar  Class 
  CalendarWeekRule  Enumeration 
  CultureInfo  Class 
  CultureTypes  Enumeration 
  DateTimeFormatInfo  Class 
  DateTimeStyles  Enumeration 
  NumberFormatInfo  Class 
  NumberStyles  Enumeration 
  RegionInfo  Class 
  StringInfo  Class 
  TextElementEnumerator  Class 
  TextInfo  Class 
 System.Drawing - download only
 System.IO

 Articles and Tutorials

 Overview of .NET
 Delphi and .NET
 Winform Applications
 ASP .Net Applications
 ASP Web Services
 Framework Collections
 Framework String Handling
 Framework Files and Folders

 Author links

 Buy Website Traffic at
 Buywebsitetrafficexperts.com

 Buy Proxies at
 Buyproxies.io
 

 
 
  System.Globalization.DateTimeFormatInfo Class
 
 Description
Calling writeTextBlock The DateTimeFormatInfo class provides support for DateTime to string formatting according to a culture.
 
A direct construction of a DateTimeFormatInfo object creates a culture independent object. Use System.Globalization.CultureInfo to create one that is culture dependant. After writeTextBlock
 Syntax
Constructor Create ;
 Methods
GetAbbreviatedDayName  Gets the abbreviated name for a Day of the Week
GetAbbreviatedEraName  Get the abbreviated Era name for the specified era number
GetAbbreviatedMonthName  Gets the abbreviated name for a Month of the Year
GetAllDateTimePatterns  Gets string representations of all the DateTime formatting patterns
GetDayName  Gets the full name for a Day of the Week
GetEra  Get the Era number for the given Era name
GetEraName  Get the full Era name for the specified era number
GetMonthName  Gets the full name for a Month of the Year

 Properties
AbbreviatedDayNames  Arrfoay of String  Gets or sets a one-dimensional array of type String containing the culture-specific abbreviated names of the days of the week.
AbbreviatedMonthNames  Array of String  Gets or sets a one-dimensional array of type String containing the culture-specific abbreviated names of the months.
AMDesignator  String  Gets or sets the string designator for hours that are "ante meridiem" (before noon).
Calendar  Calendar  Gets or sets the calendar to use for the current culture.
CalendarWeekRule  CalendarWeekRule  Gets or sets a value that specifies which rule is used to determine the first calendar week of the year.
CurrentInfo  CurrentInfo  Gets a read-only DateTimeFormatInfo that formats values based on the current culture.
DateSeparator  String  Gets or sets the string that separates the components of a date; that is, the year, month, and day.
DayNames  Array of String  Gets or sets a one-dimensional array of type String containing the culture-specific full names of the days of the week.
FirstDayOfWeek  DayOfWeek  Gets or sets the first day of the week.
FullDateTimePattern  String  Gets or sets the format pattern for a long date and long time value, which is associated with the F format character.
InvariantInfo  DateTimeFormatInfo  Gets the default read-only DateTimeFormatInfo that is culture-independent (invariant).
IsReadOnly  Boolean  Gets a value indicating whether the DateTimeFormatInfo is read-only.
LongDatePattern  String  Gets or sets the format pattern for a long date value, which is associated with the D format character.
LongTimePattern  String  Gets or sets the format pattern for a long time value, which is associated with the T format character.
MonthDayPattern  String  Gets or sets the format pattern for a month and day value, which is associated with the m and M format characters.
MonthNames  Array of String  Gets or sets a one-dimensional array of type String containing the culture-specific full names of the months.
PMDesignator  String  Gets or sets the string designator for hours that are "post meridiem" (after noon).
RFC1123Pattern  String  Gets the format pattern for a time value, which is based on the Internet Engineering Task Force (IETF) Request for Comments (RFC) 1123 specification and is associated with the r and R format characters.
ShortDatePattern  String  Gets or sets the format pattern for a short date value, which is associated with the d format character.
ShortTimePattern  String  Gets or sets the format pattern for a short time value, which is associated with the t format character.
SortableDateTimePattern  String  Gets the format pattern for a sortable date and time value, which is associated with the s format character.
TimeSeparator  String  Gets or sets the string that separates the components of time; that is, the hour, minutes, and seconds.
UniversalSortableDateTimePattern  String  Gets the format pattern for a universal sortable date and time value, which is associated with the u and U format characters.
YearMonthPattern  String  Gets or sets the format pattern for a year and month value, which is associated with the y and Y format characters.

 Delphi Basics links
 
System.Globalization.CultureInfo

 Microsoft MSDN links
 
System.Globalization
System.Globalization.DateTimeFormatInfo
 
Delphi Programming Neil Moffatt 2002 - 2016. All rights reserved.  |  Home Page