Constants.vbShortDate Field


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


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

See also