Export (0) Print
Expand All
Expand Minimize

Date Format Constant Changes in Visual Basic .NET

The following table shows the Visual Basic 6.0 Date Format constants and their Visual Basic .NET equivalents.

Note   For backward compatibility, the Visual Basic 6.0 Date Format constants may also be used in Visual Basic .NET.
Visual Basic 6.0Visual Basic .NET Equivalent
vbGeneralDateDateFormat.GeneralDate
vbLongDateDateFormat.LongDate
vbShortDateDateFormat.ShortDate
vbLongTimeDateFormat.LongTime
vbShortTimeDateFormat.ShortTime

See Also

Constant Changes in Visual Basic .NET | DateFormat Enumeration | Constants and Enumerations

Show:
© 2014 Microsoft