Internationalization and localization tools


VB.NET DateTime Information

Instantiations of the DateTime class represent an instant in time, typically expressed as a date and time of day. The DateTime value type represents dates and times with values ranging from 12:00:00 midnight, January 1, 0001 C.E. (Common Era) to 11:59:59 P.M., December 31, 9999 C.E.

Calculations and comparisons of DateTime instances are only meaningful when the instances are created in the same time zone. For that reason, it is assumed that the developer has some external mechanism, such as an explicit variable or policy, to know in which time zone a DateTime was created. Methods and properties in this class always use the local time zone when making calculations or comparisons.

DateTime values are formatted using standard or custom patterns stored in the properties of a DateTimeFormatInfo instance. To modify how a value is displayed, the DateTimeFormatInfo instance must be writeable so that custom patterns can be saved in its properties.

Related Issues

DateTime Class

DateTime.Now

DateTimeFormatInfo Class

DateTimeFormatInfo.InvariantInfo

DateTimeOffset

DayOfWeek

 

 Locale-Sensitive Methods Table of Contents

 

Lingoport internationalization and localization services and software