Table of contents
TOC
Collapse the table of content
Expand the table of content

Date Format Constants

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

These constants are only available when your project has an explicit reference to the appropriate type library containing these constant definitions.

ConstantValueDescription
vbGeneralDate0Display a date and/or time. For real numbers, display a data and time. If there is no fractional part, display only a date. If there is no integer part, display time only. Date and time display is determined by your system settings.
vbLongDate1Display a date using the long date format specified in your computer's regional settings.
vbShortDate2Display a date using the short date format specified in your computer's regional settings.
vbLongTime3Display a time using the long time format specified in your computer's regional settings.
vbShortTime4Display a time using the short time format specified in your computer's regional settings.
© 2017 Microsoft