C# Date/Time Property
using System.Globalization
DateTimeFormatInfo.InvariantInfo;
Internationalization (I18n) Property Overview
Returns the default DateTimeFormatInfo instance that is culture-independent.
For more information see Microsoft's
MSDN online documentation.
I18n Issues
The invariant, or culture-independent, DateTimeFormatInfo instance
is always English with no country or region designation and so should not be used in an internationalized
application.
Recommended Replacements
Use the DateTimeFormatInfo.CurrentInfo property to create a DateTimeFormatInfo
object for the culture of the current thread. To create a DateTimeFormatInfo
object for a specific culture, create a CultureInfo object and
then retrieve the CultureInfo.DateTimeFormat property.
General C# date/time formatting information
|