Date Format Constants for Visual Basic 6.0 Users
The following table shows the Visual Basic 6.0 Date Format constants and their Visual Basic 2008 equivalents.
Note
For backward compatibility, you can still use Visual Basic 6.0 Date Format constants in Visual Basic 2008 code. For more information, see DateFormat Enumeration.
Visual Basic 6.0 |
Visual Basic 2008 Equivalent |
---|---|
vbGeneralDate |
DateFormat.GeneralDate |
vbLongDate |
DateFormat.LongDate |
vbShortDate |
DateFormat.ShortDate |
vbLongTime |
DateFormat.LongTime |
vbShortTime |
DateFormat.ShortTime |