Skip to content

VbDateTimeFormat

Format codes for the FormatDateTime function.

ConstantValueDescription
vbGeneralDate0Display a date and/or time. For real numbers, display a date and time; if there is no fractional part, display a date only; if there is no integer part, display a time only. Date and time display is determined by the system settings.
vbLongDate1Display a date in the long date format specified by the system regional settings.
vbShortDate2Display a date in the short date format specified by the system regional settings.
vbLongTime3Display a time in the long time format specified by the system regional settings.
vbShortTime4Display a time in the short time format specified by the system regional settings.

See Also

twinBASIC and LOGO copyright of "WaynePhillipsEA" author