Constants.vbShortDate Field

Definition

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

public: Microsoft::VisualBasic::DateFormat vbShortDate = 2;
public const Microsoft.VisualBasic.DateFormat vbShortDate = 2;
val mutable vbShortDate : Microsoft.VisualBasic.DateFormat
Public Const vbShortDate As DateFormat  = 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.

Note

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

Applies to

See also