Date Format Constants

Color Constants,Comparison Constants,Date and Time Constants,Date Format Constants,Locale ID (LCID) Chart,Miscellaneous Constants,MsgBox Constants,String Constants,Tristate Constants,VarType Constants,VBScript Constants Home home | Other Resources other resources | Advertise with us advertise | Link to us link to us | Contact us contact | Bookmark Us!
Google
 
Where can I find good Windows Web Hosting to host my VBScript Site?
You can find good Windows Hosting which support VBScript, ASP, ASP.Net,VisualStudio.Net and MSSQL at a very reasonable low monthly fee at EasyCGI.com and DiscountASP.Net

Date Format Constants

Since these constants are built into VBScript, you don't have to define them before using them. Use them anywhere in your code to represent the values shown for each.

ConstantValueDescription
vbGeneralDate0Display a date and/or time. For real numbers, display a date 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.

VBScriptOnline.com - Color Constants,Comparison Constants,Date and Time Constants,Date Format Constants,Locale ID (LCID) Chart,Miscellaneous Constants,MsgBox Constants,String Constants,Tristate Constants,VarType Constants,VBScript Constants