System.Globalization Namespace DateTimeFormatInfo Class
Returns the culture-specific abbreviated name of the specified day of the week based on the CultureInfo of the current thread.
[ VB ] public Function GetAbbreviatedDayName ( _ ByVal dayofweek As DayOfWeek _ ) As String [ C# ] public string GetAbbreviatedDayName ( DayOfWeek dayofweek ); [ C++ ] public: String* GetAbbreviatedDayName ( DayOfWeek dayofweek ); [ JScript ] function GetAbbreviatedDayName ( dayofweek : DayOfWeek ) : String;
The culture-specific abbreviated name of the day of the week represented by dayofweek.
For the default invariant DateTimeFormatInfo, this method returns a string from the GregorianCalendar:
The below shows how GetAbbreviatedDayName can be used to render the abbreviated name of a given day for each of the available cultures.
Show me
DateTimeFormatInfo Members CultureInfo GregorianCalendar AbbreviatedDayNames System.DayOfWeek
© 2000-2010 Rey Nuñez All rights reserved.If you have any question, comment or suggestion about this site, please send us a note
You can help support asp.net.ph