Прочетете на английски Редактиране

Споделяне чрез


Constants.vbShortDate Field

Definition

Indicates that the short-date format for the current culture should be used when the FormatDateTime function is called.

C#
public const Microsoft.VisualBasic.DateFormat vbShortDate = 2;

Field Value

Value = 2

Remarks

When you call the FormatDateTime function, you can use the following enumeration members in your code in place of the actual values.

Бележка

You can access your computer's regional settings by double-clicking the Regional Options icon, found in Control Panel.

Applies to

Продукт Версии
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also