Constants.vbShortTime Field


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

public: Microsoft::VisualBasic::DateFormat vbShortTime = 4;
public const Microsoft.VisualBasic.DateFormat vbShortTime = 4;
val mutable vbShortTime : Microsoft.VisualBasic.DateFormat
Public Const vbShortTime As DateFormat  = 4

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