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

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


Constants.vbShortTime Field

Definition

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

C#
public const Microsoft.VisualBasic.DateFormat vbShortTime = 4;

Field Value

Value = 4

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