See Also
The following date format constants can be used anywhere in your code in place of actual values:
Constant
Value
Description
vbGeneralDate
0
Display 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.
vbLongDate
1
Display a date using the long date format specified in your computer's regional settings.
vbShortDate
2
Display a date using the short date format specified in your computer's regional settings.
vbLongTime
3
Display a time using the long time format specified in your computer's regional settings.
vbShortTime
4
Display a time using the short time format specified in your computer's regional settings.
© 1996 by Microsoft Corporation.
file: /Techref/language/asp/vbs/vbscript/13.htm,
3KB, , updated: 1996年11月22日 11:12, local time: 2025年9月17日 01:26,
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Questions?<A HREF="http://massmind.org/techref/language/asp/vbs/vbscript/13.htm"> Microsoft® Visual Basic® Scripting Edition </A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to massmind.org!
.