Export (0) Print
Expand All
Expand Minimize

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.

NoteNote:

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

Community Additions

ADD
Show:
© 2014 Microsoft