tag:blogger.com,1999:blog-49002624556480923392024-02-20T05:26:41.595-08:00Vb Script Tutorialexperthttp://www.blogger.com/profile/05027544102105084558noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-4900262455648092339.post-42827500456232248682008-01-13T21:48:00.001-08:002008-01-13T21:48:33.597-08:00Vb Script Tutorial<a name="_Toc157012808">10.13 Minute</a><br />The Minute function returns a number between 0 and 59 that represents the minute of the hour.<br />Syntax<br />Minute(time)<br /><br />Parameter<br />Description<br />time<br />Required. Any expression that can represent a time<br />Example 1<br />document.write(Now & "<br />")document.write(Minute(Now))Output:1/15/2002 10:34:39 AM34<br /><a name="_Toc157012809">10.14 Month</a><br />The Month function returns a number between 1 and 12 that represents the month of the year.<br />Syntax<br />Month(date)<br /><br />Parameter<br />Description<br />date<br />Required. Any expression that can represent a date<br />Example 1<br />document.write(Date & "<br />")document.write(Month(Date))Output:1/15/20021<br /><a name="_Toc157012810">10.15 MonthName</a><br />The MonthName function returns the name of the specified month.<br />Syntax<br />MonthName(month[,abbreviate])<br /><br />Parameter<br />Description<br />month<br />Required. Specifies the number of the month (January is 1, February is 2, etc.)<br />abbreviate<br />Optional. A Boolean value that indicates if the month name is to be abbreviated. Default is False<br />Example 1<br />document.write(MonthName(8))Output:August<br /><a name="_Toc157012811">10.16 Now</a><br />The Now function returns the current date and time according to the setting of your computer's system date and time.<br />Now<br />Example 1<br />document.write(Now)Output:1/15/2002 10:52:15 AMexperthttp://www.blogger.com/profile/05027544102105084558noreply@blogger.com0tag:blogger.com,1999:blog-4900262455648092339.post-15190209980445986302008-01-13T21:46:00.000-08:002008-01-13T21:48:04.211-08:00Vb Script Tutorial<a name="_Toc157012805">10.10 FormatDateTime</a><br />The FormatDateTime function formats and returns a valid date or time expression.<br />Syntax<br />FormatDateTime(date,format)<br /><br />Parameter<br />Description<br />date<br />Required. Any valid date expression (like Date() or Now())<br />format<br />Optional. A Format value that specifies the date/time format to use<br />Example 1<br />document.write("The current date is: ")document.write(FormatDateTime(Date()))Output:The current date is: 2/22/2001<br /><a name="_Toc157012806">10.11 Hour</a><br />The Hour function returns a number between 0 and 23 that represents the hour of the day.<br />Syntax<br />Hour(time)<br /><br />Parameter<br />Description<br />time<br />Required. Any expression that can represent a time<br />Example 1<br />document.write(Now & "<br />")document.write(Hour(Now))Output:1/15/2002 10:07:47 AM10<br /><a name="_Toc157012807">10.12 IsDate</a><br />The IsDate function returns a Boolean value that indicates if the evaluated expression can be converted to a date. It returns True if the expression is a date or can be converted to a date; otherwise, it returns False.<br />Note: The IsDate function uses local setting to determine if a string can be converted to a date ("January" is not a month in all languages.)<br />Syntax<br />IsDate(expression)<br /><br />Parameter<br />Description<br />expression<br />Required. The expression to be evaluated<br />Example 1<br />document.write(IsDate("April 22, 1947") & "<br />")document.write(IsDate(#11/11/01#) & "<br />")document.write(IsDate("#11/11/01#") & "<br />")document.write(IsDate("Hello World!"))Output:TrueTrueFalseFalseexperthttp://www.blogger.com/profile/05027544102105084558noreply@blogger.com0tag:blogger.com,1999:blog-4900262455648092339.post-8020859708682079282008-01-13T21:45:00.001-08:002008-01-13T21:45:34.993-08:00Vb Script Tutorial<a name="_Toc157012802">10.7 </a>DateSerial<br />The DateSerial function returns a Variant of subtype Date for a specified year, month, and day.<br />Syntax<br />DateSerial(year,month,day)<br /><br />Parameter<br />Description<br />year<br />Required. A number between 100 and 9999, or a numeric expression. Values between 0 and 99 are interpreted as the years 1900–1999. For all other year arguments, use a complete four-digit year<br />month<br />Required. Any numeric expression<br />day<br />Required. Any numeric expression<br />Example 1<br />document.write(DateSerial(1996,2,3) & "<br />")document.write(DateSerial(1990-20,9-2,1-1))Output:2/3/19966/30/1970<br /><a name="_Toc157012803">10.8 DateValue</a><br />The DateValue function returns a Variant of subtype Date.<br />Note: If the year part of date is omitted this function will use the current year from the computer's system date.<br />Note: If the date parameter includes time information it will not be returned. However, if date includes invalid time information, a run-time error will occur.<br />Syntax<br />DateValue(date)<br /><br />Parameter<br />Description<br />date<br />Required. A date from January 1, 100 through December 31, 9999 or any expression that can represent a date, a time, or both a date and time<br />Example 1<br />document.write(DateValue("31-Jan-02") & "<br />")document.write(DateValue("31-Jan") & "<br />")document.write(DateValue("31-Jan-02 2:39:49 AM"))Output:1/31/20021/31/20021/31/2002<br /><a name="_Toc157012804">10.9 Day</a><br />The Day function returns a number between 1 and 31 that represents the day of the month.<br />Syntax<br />Day(date)<br /><br />Parameter<br />Description<br />date<br />Required. Any expression that can represent a date<br />Example 1<br />document.write(Date & "<br />")document.write(Day(Date))Output:1/14/200214experthttp://www.blogger.com/profile/05027544102105084558noreply@blogger.com0tag:blogger.com,1999:blog-4900262455648092339.post-43552228437718748042008-01-13T21:44:00.001-08:002008-01-13T21:44:53.105-08:00Vb Script Tutorial<a name="_Toc157012801">10.6 DatePart</a><br />The DatePart function returns the specified part of a given date.<br />Syntax<br />DatePart(interval,date[,firstdayofweek[,firstweekofyear]])<br /><br />Parameter<br />Description<br />interval<br />Required. The interval of time to return.<br />Can take the following values:<br />yyyy - Year<br />q - Quarter<br />m - Month<br />y - Day of year<br />d - Day<br />w - Weekday<br />ww - Week of year<br />h - Hour<br />n - Minute<br />s - Second<br />date<br />Required. Date expression to evaluate<br />firstdayofweek<br />Optional. Specifies the day of the week.<br />Can take the following values:<br />0 = vbUseSystemDayOfWeek - Use National Language Support (NLS) API setting<br />1 = vbSunday - Sunday (default)<br />2 = vbMonday - Monday<br />3 = vbTuesday - Tuesday<br />4 = vbWednesday - Wednesday<br />5 = vbThursday - Thursday<br />6 = vbFriday - Friday<br />7 = vbSaturday - Saturday<br />firstweekofyear<br />Optional. Specifies the first week of the year.<br />Can take the following values:<br />0 = vbUseSystem - Use National Language Support (NLS) API setting<br />1 = vbFirstJan1 - Start with the week in which January 1 occurs (default)<br />2 = vbFirstFourDays - Start with the week that has at least four days in the new year<br />3 = vbFirstFullWeek - Start with the first full week of the new year<br />Example 1<br />document.write(Date & "<br />")document.write(DatePart("d",Date))Output:1/14/200214experthttp://www.blogger.com/profile/05027544102105084558noreply@blogger.com0tag:blogger.com,1999:blog-4900262455648092339.post-90787249173690656772008-01-13T21:43:00.000-08:002008-01-13T21:44:05.725-08:00Vb Script Tutorial<a name="_Toc157012799">10.4 DateAdd</a><br />The DateAdd function returns a date to which a specified time interval has been added.<br />Syntax DateAdd(interval,number,date)<br />Parameter<br />Description<br />interval<br />Required. The interval you want to add<br />Can take the following values:<br />yyyy - Year<br />q - Quarter<br />m - Month<br />y - Day of year<br />d - Day<br />w - Weekday<br />ww - Week of year<br />h - Hour<br />n - Minute<br />s - Second<br />number<br />Required. The number of interval you want to add. Can either be positive, for dates in the future, or negative, for dates in the past<br />date<br />Required. Variant or literal representing the date to which interval is added<br />Example 1<br />'Add one month to January 31, 2000document.write(DateAdd("m",1,"31-Jan-00"))Output:2/29/2000<br />Example 2<br />'Add one month to January 31, 2001document.write(DateAdd("m",1,"31-Jan-01"))Output:2/28/2001<br /><a name="_Toc157012800">10.5 DateDiff</a><br />The DateDiff function returns the number of intervals between two dates.<br />Syntax<br />DateDiff(interval,date1,date2[,firstdayofweek[,firstweekofyear]])<br /><br />Parameter<br />Description<br />interval<br />Required. The interval you want to use to calculate the differences between date1 and date2<br />Can take the following values:<br />yyyy - Year<br />q - Quarter<br />m - Month<br />y - Day of year<br />d - Day<br />w - Weekday<br />ww - Week of year<br />h - Hour<br />n - Minute<br />s - Second<br />date1,date2<br />Required. Date expressions. Two dates you want to use in the calculation<br />firstdayofweek<br />Optional. Specifies the day of the week.<br />Can take the following values:<br />0 = vbUseSystemDayOfWeek - Use National Language Support (NLS) API setting<br />1 = vbSunday - Sunday (default)<br />2 = vbMonday - Monday<br />3 = vbTuesday - Tuesday<br />4 = vbWednesday - Wednesday<br />5 = vbThursday - Thursday<br />6 = vbFriday - Friday<br />7 = vbSaturday - Saturday<br />firstweekofyear<br />Optional. Specifies the first week of the year.<br />Can take the following values:<br />0 = vbUseSystem - Use National Language Support (NLS) API setting<br />1 = vbFirstJan1 - Start with the week in which January 1 occurs (default)<br />2 = vbFirstFourDays - Start with the week that has at least four days in the new year<br />3 = vbFirstFullWeek - Start with the first full week of the new year<br />Example 1<br />document.write(Date & "<br />")document.write(DateDiff("m",Date,"12/31/2002") & "<br />")document.write(DateDiff("d",Date,"12/31/2002") & "<br />")document.write(DateDiff("n",Date,"12/31/2002"))Output:1/14/200211351505440experthttp://www.blogger.com/profile/05027544102105084558noreply@blogger.com0tag:blogger.com,1999:blog-4900262455648092339.post-50254678052332480782008-01-13T21:42:00.000-08:002008-01-13T21:43:21.397-08:00Vb Script Tutorial<a name="_Toc157012795">10. Date / Time Functions Syntax with Example</a><br /><a name="_Toc157012796">10.1 </a>Write Text: How to write text on a page<br /><script type="text/vbscript"><br />document.write("Hello from VBScript!Written By kasi Viswaandham")<br /></script><br /><a name="_Toc157012797">10.2 CDATE</a><br />The CDate function converts a valid date and time expression to the variant of subtype Date, and returns the result.<br />Tip: Use the IsDate function to determine if date can be converted to a date or time.<br />Note: The IsDate function uses local setting to determine if a string can be converted to a date ("January" is not a month in all languages.)<br />CDate(date)<br /><br />Parameter<br />Description<br />date<br />Required. Any valid date expression (like Date() or Now())<br />Example 1<br />d="April 22, 2001"if IsDate(d) then document.write(CDate(d))end ifOutput:2/22/01<br /><br />Example 2<br />d=#2/22/01#if IsDate(d) then document.write(CDate(d))end ifOutput:2/22/01<br />Example 3<br />d="3:18:40 AM"if IsDate(d) then document.write(CDate(d))end ifOutput:3:18:40 AM<br /><a name="_Toc157012798">10.3 Date</a><br />The Date function returns the current system date<br />Syntaxdocument.write("The current system date is: ")document.write(Date)Output:<br />The current system date is: 1/14/2002experthttp://www.blogger.com/profile/05027544102105084558noreply@blogger.com0tag:blogger.com,1999:blog-4900262455648092339.post-35003092604462010142008-01-13T21:40:00.000-08:002008-01-13T21:41:59.559-08:00Vb Script Tutorial<a name="_Toc157012788"></a><a name="date"></a><br /><br /><a name="_Toc157012792"></a><a name="array">7. Array Functions</a><br />Function<br />Description<br /><a href="http://www.w3schools.com/vbscript/func_array.asp">Array</a><br />Returns a variant containing an array<br /><a href="http://www.w3schools.com/vbscript/func_filter.asp">Filter</a><br />Returns a zero-based array that contains a subset of a string array based on a filter criteria<br /><a href="http://www.w3schools.com/vbscript/func_isarray.asp">IsArray</a><br />Returns a Boolean value that indicates whether a specified variable is an array<br /><a href="http://www.w3schools.com/vbscript/func_join.asp">Join</a><br />Returns a string that consists of a number of substrings in an array<br /><a href="http://www.w3schools.com/vbscript/func_lbound.asp">LBound</a><br />Returns the smallest subscript for the indicated dimension of an array<br /><a href="http://www.w3schools.com/vbscript/func_split.asp">Split</a><br />Returns a zero-based, one-dimensional array that contains a specified number of substrings<br /><a href="http://www.w3schools.com/vbscript/func_ubound.asp">UBound</a><br />Returns the largest subscript for the indicated dimension of an array<br /><br /><br /><a name="_Toc157012793"></a><a name="string">8. String Functions</a><br />Function<br />Description<br /><a href="http://www.w3schools.com/vbscript/func_instr.asp">InStr</a><br />Returns the position of the first occurrence of one string within another. The search begins at the first character of the string<br /><a href="http://www.w3schools.com/vbscript/func_instrrev.asp">InStrRev</a><br />Returns the position of the first occurrence of one string within another. The search begins at the last character of the string<br /><a href="http://www.w3schools.com/vbscript/func_lcase.asp">LCase</a><br />Converts a specified string to lowercase<br /><a href="http://www.w3schools.com/vbscript/func_left.asp">Left</a><br />Returns a specified number of characters from the left side of a string<br /><a href="http://www.w3schools.com/vbscript/func_len.asp">Len</a><br />Returns the number of characters in a string<br /><a href="http://www.w3schools.com/vbscript/func_ltrim.asp">LTrim</a><br />Removes spaces on the left side of a string<br /><a href="http://www.w3schools.com/vbscript/func_rtrim.asp">RTrim</a><br />Removes spaces on the right side of a string<br /><a href="http://www.w3schools.com/vbscript/func_trim.asp">Trim</a><br />Removes spaces on both the left and the right side of a string<br /><a href="http://www.w3schools.com/vbscript/func_mid.asp">Mid</a><br />Returns a specified number of characters from a string<br /><a href="http://www.w3schools.com/vbscript/func_replace.asp">Replace</a><br />Replaces a specified part of a string with another string a specified number of times<br /><a href="http://www.w3schools.com/vbscript/func_right.asp">Right</a><br />Returns a specified number of characters from the right side of a string<br /><a href="http://www.w3schools.com/vbscript/func_space.asp">Space</a><br />Returns a string that consists of a specified number of spaces<br /><a href="http://www.w3schools.com/vbscript/func_strcomp.asp">StrComp</a><br />Compares two strings and returns a value that represents the result of the comparison<br /><a href="http://www.w3schools.com/vbscript/func_string.asp">String</a><br />Returns a string that contains a repeating character of a specified length<br /><a href="http://www.w3schools.com/vbscript/func_strreverse.asp">StrReverse</a><br />Reverses a string<br /><a href="http://www.w3schools.com/vbscript/func_ucase.asp">UCase</a><br />Converts a specified string to uppercase<br /><br /><a name="_Toc157012794"></a><a name="other">9. Other Functions</a><br /><br />Function<br />Description<br /><a href="http://www.w3schools.com/vbscript/func_createobject.asp">CreateObject</a><br />Creates an object of a specified type<br />Eval<br />Evaluates an expression and returns the result<br /><a href="http://www.w3schools.com/vbscript/func_getlocale.asp">GetLocale</a><br />Returns the current locale ID<br /><a href="http://www.w3schools.com/vbscript/func_getobject.asp">GetObject</a><br />Returns a reference to an automation object from a file<br /><a href="http://www.w3schools.com/vbscript/func_getref.asp">GetRef</a><br />Allows you to connect a VBScript procedure to a DHTML event on your pages<br /><a href="http://www.w3schools.com/vbscript/func_inputbox.asp">InputBox</a><br />Displays a dialog box, where the user can write some input and/or click on a button, and returns the contents<br /><a href="http://www.w3schools.com/vbscript/func_isempty.asp">IsEmpty</a><br />Returns a Boolean value that indicates whether a specified variable has been initialized or not<br /><a href="http://www.w3schools.com/vbscript/func_isnull.asp">IsNull</a><br />Returns a Boolean value that indicates whether a specified expression contains no valid data (Null)<br /><a href="http://www.w3schools.com/vbscript/func_isnumeric.asp">IsNumeric</a><br />Returns a Boolean value that indicates whether a specified expression can be evaluated as a number<br /><a href="http://www.w3schools.com/vbscript/func_isobject.asp">IsObject</a><br />Returns a Boolean value that indicates whether the specified expression is an automation object<br /><a href="http://www.w3schools.com/vbscript/func_loadpicture.asp">LoadPicture</a><br />Returns a picture object. Available only on 32-bit platforms<br /><a href="http://www.w3schools.com/vbscript/func_msgbox.asp">MsgBox</a><br />Displays a message box, waits for the user to click a button, and returns a value that indicates which button the user clicked<br /><a href="http://www.w3schools.com/vbscript/func_rgb.asp">RGB</a><br />Returns a number that represents an RGB color value<br /><a href="http://www.w3schools.com/vbscript/func_round.asp">Round</a><br />Rounds a number<br /><a href="http://www.w3schools.com/vbscript/func_scriptengine.asp">ScriptEngine</a><br />Returns the scripting language in use<br /><a href="http://www.w3schools.com/vbscript/func_scriptengine.asp">ScriptEngineBuildVersion</a><br />Returns the build version number of the scripting engine in use<br /><a href="http://www.w3schools.com/vbscript/func_scriptengine.asp">ScriptEngineMajorVersion</a><br />Returns the major version number of the scripting engine in use<br /><a href="http://www.w3schools.com/vbscript/func_scriptengine.asp">ScriptEngineMinorVersion</a><br />Returns the minor version number of the scripting engine in use<br /><a href="http://www.w3schools.com/vbscript/func_setlocale.asp">SetLocale</a><br />Sets the locale ID and returns the previous locale ID<br /><a href="http://www.w3schools.com/vbscript/func_typename.asp">TypeName</a><br />Returns the subtype of a specified variable<br /><a href="http://www.w3schools.com/vbscript/func_vartype.asp">VarType</a><br />Returns a value that indicates the subtype of a specified variableexperthttp://www.blogger.com/profile/05027544102105084558noreply@blogger.com0tag:blogger.com,1999:blog-4900262455648092339.post-65504348226689369622008-01-13T21:35:00.001-08:002008-01-13T21:40:14.276-08:00Vb Script Tutorial<a name="conversion">4. Conversion Functions</a><br /><br />Function<br />Description<br /><a href="http://www.w3schools.com/vbscript/func_asc.asp">Asc</a><br />Converts the first letter in a string to ANSI code<br /><a href="http://www.w3schools.com/vbscript/func_cbool.asp">CBool</a><br />Converts an expression to a variant of subtype Boolean<br /><a href="http://www.w3schools.com/vbscript/func_cbyte.asp">CByte</a><br />Converts an expression to a variant of subtype Byte<br /><a href="http://www.w3schools.com/vbscript/func_ccur.asp">CCur</a><br />Converts an expression to a variant of subtype Currency<br /><a href="http://www.w3schools.com/vbscript/func_cdate.asp">CDate</a><br />Converts a valid date and time expression to the variant of subtype Date<br /><a href="http://www.w3schools.com/vbscript/func_cdbl.asp">CDbl</a><br />Converts an expression to a variant of subtype Double<br /><a href="http://www.w3schools.com/vbscript/func_chr.asp">Chr</a><br />Converts the specified ANSI code to a character<br /><a href="http://www.w3schools.com/vbscript/func_cint.asp">CInt</a><br />Converts an expression to a variant of subtype Integer<br /><a href="http://www.w3schools.com/vbscript/func_clng.asp">CLng</a><br />Converts an expression to a variant of subtype Long<br /><a href="http://www.w3schools.com/vbscript/func_csng.asp">CSng</a><br />Converts an expression to a variant of subtype Single<br /><a href="http://www.w3schools.com/vbscript/func_cstr.asp">CStr</a><br />Converts an expression to a variant of subtype String<br /><a href="http://www.w3schools.com/vbscript/func_hex.asp">Hex</a><br />Returns the hexadecimal value of a specified number<br /><a href="http://www.w3schools.com/vbscript/func_oct.asp">Oct</a><br />Returns the octal value of a specified number<br /><br /><a name="_Toc157012790"></a><a name="format">5. Format Functions</a><br /><a href="http://www.w3schools.com/vbscript/vbscript_ref_functions.asp#top#top">Top</a><br /><br />Function<br />Description<br /><a href="http://www.w3schools.com/vbscript/func_formatcurrency.asp">FormatCurrency</a><br />Returns an expression formatted as a currency value<br /><a href="http://www.w3schools.com/vbscript/func_formatdatetime.asp">FormatDateTime</a><br />Returns an expression formatted as a date or time<br /><a href="http://www.w3schools.com/vbscript/func_formatnumber.asp">FormatNumber</a><br />Returns an expression formatted as a number<br /><a href="http://www.w3schools.com/vbscript/func_formatpercent.asp">FormatPercent</a><br />Returns an expression formatted as a percentage<br /><br /><a name="_Toc157012791"></a><a name="math">6. Math Functions</a><br /><a href="http://www.w3schools.com/vbscript/vbscript_ref_functions.asp#top#top">Top</a><br /><br />Function<br />Description<br /><a href="http://www.w3schools.com/vbscript/func_abs.asp">Abs</a><br />Returns the absolute value of a specified number<br /><a href="http://www.w3schools.com/vbscript/func_atn.asp">Atn</a><br />Returns the arctangent of a specified number<br /><a href="http://www.w3schools.com/vbscript/func_cos.asp">Cos</a><br />Returns the cosine of a specified number (angle)<br /><a href="http://www.w3schools.com/vbscript/func_exp.asp">Exp</a><br />Returns e raised to a power<br /><a href="http://www.w3schools.com/vbscript/func_hex.asp">Hex</a><br />Returns the hexadecimal value of a specified number<br /><a href="http://www.w3schools.com/vbscript/func_int.asp">Int</a><br />Returns the integer part of a specified number<br /><a href="http://www.w3schools.com/vbscript/func_fix.asp">Fix</a><br />Returns the integer part of a specified number<br /><a href="http://www.w3schools.com/vbscript/func_log.asp">Log</a><br />Returns the natural logarithm of a specified number<br /><a href="http://www.w3schools.com/vbscript/func_oct.asp">Oct</a><br />Returns the octal value of a specified number<br /><a href="http://www.w3schools.com/vbscript/func_rnd.asp">Rnd</a><br />Returns a random number less than 1 but greater or equal to 0<br /><a href="http://www.w3schools.com/vbscript/func_sgn.asp">Sgn</a><br />Returns an integer that indicates the sign of a specified number<br /><a href="http://www.w3schools.com/vbscript/func_sin.asp">Sin</a><br />Returns the sine of a specified number (angle)<br /><a href="http://www.w3schools.com/vbscript/func_sqr.asp">Sqr</a><br />Returns the square root of a specified number<br /><a href="http://www.w3schools.com/vbscript/func_tan.asp">Tan</a><br />Returns the tangent of a specified number (angle)experthttp://www.blogger.com/profile/05027544102105084558noreply@blogger.com0tag:blogger.com,1999:blog-4900262455648092339.post-18772683199775866612008-01-10T01:24:00.000-08:002008-01-10T01:26:11.946-08:00VB Script1<a name="_Toc157012786">1. What is VBScript?</a><br />VBScript is a scripting language<br />A scripting language is a lightweight programming language<br />VBScript is a light version of Microsoft's programming language Visual Basic<br /><a name="_Toc157012787">2. How does it Work?</a><br />When a VBScript is inserted into a HTML document, the Internet browser will read the HTML and interpret the VBScript. The VBScript can be executed immediately, or at a later event.<br /><a name="vbswhat"></a>Function<br />Description<br /><a href="http://www.w3schools.com/vbscript/func_cdate.asp">CDate</a><br />Converts a valid date and time expression to the variant of subtype Date<br /><a href="http://www.w3schools.com/vbscript/func_date.asp">Date</a><br />Returns the current system date<br /><a href="http://www.w3schools.com/vbscript/func_dateadd.asp">DateAdd</a><br />Returns a date to which a specified time interval has been added<br /><a href="http://www.w3schools.com/vbscript/func_datediff.asp">DateDiff</a><br />Returns the number of intervals between two dates<br /><a href="http://www.w3schools.com/vbscript/func_datepart.asp">DatePart</a><br />Returns the specified part of a given date<br /><a href="http://www.w3schools.com/vbscript/func_dateserial.asp">DateSerial</a><br />Returns the date for a specified year, month, and day<br /><a href="http://www.w3schools.com/vbscript/func_datevalue.asp">DateValue</a><br />Returns a date<br /><a href="http://www.w3schools.com/vbscript/func_day.asp">Day</a><br />Returns a number that represents the day of the month (between 1 and 31, inclusive)<br /><a href="http://www.w3schools.com/vbscript/func_formatdatetime.asp">FormatDateTime</a><br />Returns an expression formatted as a date or time<br /><a href="http://www.w3schools.com/vbscript/func_hour.asp">Hour</a><br />Returns a number that represents the hour of the day (between 0 and 23, inclusive)<br /><a href="http://www.w3schools.com/vbscript/func_isdate.asp">IsDate</a><br />Returns a Boolean value that indicates if the evaluated expression can be converted to a date<br /><a href="http://www.w3schools.com/vbscript/func_minute.asp">Minute</a><br />Returns a number that represents the minute of the hour (between 0 and 59, inclusive)<br /><a href="http://www.w3schools.com/vbscript/func_month.asp">Month</a><br />Returns a number that represents the month of the year (between 1 and 12, inclusive)<br /><a href="http://www.w3schools.com/vbscript/func_monthname.asp">MonthName</a><br />Returns the name of a specified month<br /><a href="http://www.w3schools.com/vbscript/func_now.asp">Now</a><br />Returns the current system date and time<br /><a href="http://www.w3schools.com/vbscript/func_second.asp">Second</a><br />Returns a number that represents the second of the minute (between 0 and 59, inclusive)<br /><a href="http://www.w3schools.com/vbscript/func_time.asp">Time</a><br />Returns the current system time<br /><a href="http://www.w3schools.com/vbscript/func_timer.asp">Timer</a><br />Returns the number of seconds since 12:00 AM<br /><a href="http://www.w3schools.com/vbscript/func_timeserial.asp">TimeSerial</a><br />Returns the time for a specific hour, minute, and second<br /><a href="http://www.w3schools.com/vbscript/func_timevalue.asp">TimeValue</a><br />Returns a time<br /><a href="http://www.w3schools.com/vbscript/func_weekday.asp">Weekday</a><br />Returns a number that represents the day of the week (between 1 and 7, inclusive)<br /><a href="http://www.w3schools.com/vbscript/func_weekdayname.asp">WeekdayName</a><br />Returns the weekday name of a specified day of the weekexperthttp://www.blogger.com/profile/05027544102105084558noreply@blogger.com0tag:blogger.com,1999:blog-4900262455648092339.post-8541811422235518922008-01-10T01:21:00.000-08:002008-01-10T01:24:39.068-08:00The Blog Is A Discussion Of Vb ScriptThe Blog Is A Discussion Of Vb Scriptexperthttp://www.blogger.com/profile/05027544102105084558noreply@blogger.com0