Internationalization and localization tools


C# Date/Time Property

using System

public enum DayOfWeek;

Internationalization (I18n) Enumeration Overview

The DayOfWeek enumeration represents the day of the week in calendars that have seven days per week. The value of the constants in this enumeration ranges from DayOfWeek.Sunday to DayOfWeek.Saturday. If cast to an integer, its value ranges from zero (which indicates DayOfWeek.Sunday) to six (which indicates DayOfWeek..Saturday).

See Microsoft's MSDN online documentation for more information.

I18n Issues

The members of the DayOfWeek Enumeration are not localized, which means there is a translation issue.

Recommended Replacements

To return the localized name of the day of the week, call the DateTime.ToString(String) or the DateTime.ToString(String, IFormatProvider) method with either the "ddd" or "dddd" format strings. The former format string produces the abbreviated weekday name; the latter produces the full weekday name.

General C# date/time formatting information

 

Lingoport internationalization and localization services and software