Sideway BICK BlogSideway BICK BLOG from Sideway

A Sideway to Sideway Home

Link:http://output.to/sideway/default.asp?qno=180300028

Script, Scripting Language, VBScript elements, Server-Side VBScript FunctionDateSerial, TimeSerial Function

VBScript Date/Time Functions

Functions for manipulating date or time expression.

DateSerial Function

last updated 9/18/2017

Create a date from given numeric expressions of year, month, and day.

Syntax

DateSerial(year, month, day)

Argument

yearRequired. Any valid numeric expression. Valid numeric value, which is equal to Round(year), is between 100 and 9999 inclusive. And values between 0 and 99 are used as 2-digit year short-cutmonthRequired. Any valid numeric expression. Valid numeric value, which is equal to Round(month), is between 1 and 12 inclusive.dayRequired. Any valid numeric expression. Valid numeric value, which is equal to Round(day), is between 1 and (31) inclusive.

Returns

Returns a Variant of the Date data subtype containing the date converted from the given numeric expressions of year, month, and day.

Remarks

  • DateSerial function is used to convert given numeric expressions of year, month, and day to a date with valid date format.
  • The valid range of the dates returned by DateEerial function is between 01/01/100 and 12/31/9999 inclusive.
  • The year, month and day arguments are inter-related. When any argument falls outside the valid range for that argument, the argument will be evaluated with other argument as appropriate.
  • The numeric expressions of year, month, and day can be divided into valid numeric values and acceptable numeric values.
  • For the year argument, the number of digit is limited to 4 digits.
  • The year argument is affected by the two-digit year setting of local system date.
  • For example, the default setting for values between 0 and 29 inclusive are interpreted as the years 2000-2029, and values between 30 and 99 are interpreted as the years 1930-1999.
  • Since values between 0 and 99 inclusive are used as short-cut years for some specified years. The valid numeric values for year is therefore equal to value between 100 and 9999 inclusive only.
  • No date before year 100 can be created by DateSerial function.
  • As default numeric expression 0 equals to 2000, the default acceptable values for year argument to return valid numeric value are between -1900 and 9999 inclusive without considering the month and day arguments.
  • When considering the month and day arguments, the default acceptable values for year argument to return valid numeric value are between -4720 and 9999 inclusive.
  • In other words, the acceptable range of year argument is restricted due to the limitations, although the possible range of argument may be -32768 and 32767 inclusive.
  • Both month and day arguments can cause year argument to move forward or backward.
  • Any number between 0 and 99 inclusive will convert to valid numeric values according to the two-digit year setting. For example, {30, …, 99, 00, …, 29} mean {1930, …, 1999, 2000, …, 2029}. For any number less than 0 will move the date backward accordingly. For example, -1=0-1=2000-1=1999, -1900=0-1900=2000-1900=100.
  • For year argument with any resultant date falls outside the valid range of dates, DateSerial function returns a Run-time error.
  • For the month argument, the valid numeric value is between 1 and 12 inclusive and the acceptable numeric value is between -32768 and 32767 inclusive without considering the day argument. Any number less than 1 will move the date backward accordingly. For example, 0=1-1 means to move 1 month backward to the last month of last year. Any number greater than 12 will move the date forward. Or, in general, any positive numeric value can be expressed as 1+x. For example, 40=1+39=12+28 means to move the date forward from the augend to the addend.
  • For month argument with any resultant date falls outside the valid range of dates, DateSerial function returns a Run-time error.
  • For the day argument, the valid numeric value is the days of month and the acceptable numeric value is between -32768 and 32767 inclusive. Any number less than the first day of month will move the date backward accordingly. For example, 0=1-1 means to move 1 day backward to the last day of last month. Any number greater than the last day of month will move the date forward. Or, in general, any positive numeric value can be expressed as 1+x. For example, 40=1+39=28+12=29+11=30+10=31+9 means to move the date forward from the augend to the addend.
  • For day argument with any resultant date falls outside the valid range of dates, DateSerial function returns a Run-time error.

Requirement

1

Examples

Examples of DateSerial function

ASP VbScript Command:
<script runat="server" language="VBScript">
Dim vars,yer,mth,dai,cmda,var:var=0
cmda=array("DateSerial(yer,mth,dai)")
Dim ucnt,tmp,i:ucnt=UBound(cmda):If var=1 Then:tmp="":Else:tmp="<b>vars</b>":End If:For i=0 to ucnt:tmp=tmp&"<b>"&rmv_ctrl(cmda(i))&", TypeName</b>":Next:Response.Write "Results on Microsoft Windows 8.1 Pro x64, Microsoft-IIS/8.5, VBScript Version 5.8 of page /internet/users/sideblog/default.asp<br />"&"<i>"&tmp&"</i>"
Function dsp_x:Dim tmp_a,tmp_b,i:If varx=0  Then:Execute vars:End If:If var=1 Then:tmp_a="":Else:tmp_a=rmv_ctrl(vars):End If:For i=0 to ucnt:tmp_b=cmd_b(cmda(i)):if i/2=fix(i/2) Then:tmp_b="<b>"&tmp_b&"</b>":End If:tmp_a=tmp_a&tmp_b:Next:Response.Write "<i>"&tmp_a&"</i>":End Function
Function rmv_ctrl(blk_str):Select Case blk_str:Case chr(0):blk_str="NUL":Case chr(1):blk_str="SOH":Case chr(2):blk_str="STX":Case chr(3):blk_str="ETX":Case chr(4):blk_str="EOT":Case chr(5):blk_str="ENQ":Case chr(6):blk_str="ACK":Case chr(7):blk_str="BEL":Case chr(8):blk_str="BS":Case chr(9):blk_str="HT":Case chr(10):blk_str="LF":Case chr(11):blk_str="VT":Case chr(12):blk_str="FF":Case chr(13):blk_str="CR":Case chr(14):blk_str="SO":Case chr(15):blk_str="SI":Case chr(16):blk_str="DLE":Case chr(17):blk_str="DC1":Case chr(18):blk_str="DC2":Case chr(19):blk_str="DC3":Case chr(20):blk_str="DC4":Case chr(21):blk_str="NAK":Case chr(22):blk_str="SYN":Case chr(23):blk_str="ETB":Case chr(24):blk_str="CAN":Case chr(25):blk_str="EM":Case chr(26):blk_str="SUB":Case chr(27):blk_str="ESC":Case chr(28):blk_str="FS":Case chr(29):blk_str="GS":Case chr(30):blk_str="RS":Case chr(31):blk_str="US":Case chr(127):blk_str="DEL":End Select:rmv_ctrl=blk_str:If IsNull(blk_str) OR IsEmpty(Blk_str) OR blk_str="" OR IsNumeric(Blk_str) Then:Else:rmv_ctrl=Replace(Replace(Replace(Replace(Replace(blk_str,"&","&amp;"),"  "," &nbsp;"),"""","&quot;"),"<","&lt;"),">","&gt;"): End If :End Function
Function cmd_b(blk_str):cmd_b="["&cmd_x(blk_str)&"], "&cmd_x("TypeName("&blk_str&")"):End Function
Function cmd_x(blk_str):On Error Resume Next:Dim xans, tmp:xans="":tmp="":execute "xans="&blk_str:If Err.Number <> 0  Then:xans=cmd_x("TypeName("&blk_str&")"):Select Case xans:Case 9::Case Else:xans="error":End Select:End If:If IsArray(xans)=False Then:cmd_x=rmv_ctrl(xans): Else:tmp=lst_arry(xans):cmd_x=trim(tmp):End If:End Function
Function lst_arry(blk_str):Dim tmp,i,q:q="""":tmp="":For i=0 to UBound(blk_str):if VarType(blk_str(i))>1 And VarType(blk_str(i))<6 Then:q="'":End If:tmp=tmp&" "&q&rmv_ctrl(blk_str(i))&q:Next:lst_arry=trim(tmp):End Function

vars="yer=0:mth=1:dai=1":dsp_x
vars="yer=1.4:mth=1.4:dai=1.4":dsp_x
vars="yer=1.5:mth=1.5:dai=1.5":dsp_x
vars="yer=1.6:mth=1.6:dai=1.6":dsp_x
vars="yer=2.4:mth=2.4:dai=2.4":dsp_x
vars="yer=2.5:mth=2.5:dai=2.5":dsp_x
vars="yer=2.6:mth=2.6:dai=2.6":dsp_x
vars="yer=9:mth=1:dai=1":dsp_x
vars="yer=10:mth=1:dai=1":dsp_x
vars="yer=11:mth=1:dai=1":dsp_x
vars="yer=19:mth=1:dai=1":dsp_x
vars="yer=20:mth=1:dai=1":dsp_x
vars="yer=21:mth=1:dai=1":dsp_x
vars="yer=29:mth=1:dai=1":dsp_x
vars="yer=30:mth=1:dai=1":dsp_x
vars="yer=31:mth=1:dai=1":dsp_x
vars="yer=39:mth=1:dai=1":dsp_x
vars="yer=90:mth=1:dai=1":dsp_x
vars="yer=91:mth=1:dai=1":dsp_x
vars="yer=99:mth=1:dai=1":dsp_x
vars="yer=-1:mth=1:dai=1":dsp_x
vars="yer=1:mth=-1:dai=1":dsp_x
vars="yer=1:mth=1:dai=-1":dsp_x
vars="yer=-1:mth=0:dai=1":dsp_x
vars="yer=1:mth=-1:dai=0":dsp_x
vars="yer=0:mth=1:dai=-1":dsp_x
vars="yer=0:mth=0:dai=1":dsp_x
vars="yer=0:mth=1:dai=0":dsp_x
vars="yer=-1900:mth=1:dai=1":dsp_x
vars="yer=-1000:mth=1:dai=1":dsp_x
vars="yer=0000:mth=0:dai=0":dsp_x
vars="yer=0000:mth=1:dai=1":dsp_x
vars="yer=9999:mth=12:dai=31":dsp_x
vars="yer=9998:mth=12+1:dai=1":dsp_x
vars="yer=9998:mth=11+1+1:dai=1":dsp_x
vars="yer=9998:mth=13:dai=1":dsp_x
vars="yer=9998:mth=1:dai=1":dsp_x
vars="yer=9998:mth=0:dai=1":dsp_x
vars="yer=9998:mth=-1:dai=1":dsp_x
vars="yer=-4720:mth=32767:dai=32767":dsp_x
vars="yer=-1900:mth=32767:dai=32767":dsp_x
vars="yer=7179:mth=32767:dai=32767":dsp_x
vars="yer=0:mth=-32768:dai=-32768":dsp_x
vars="yer=-2540:mth=-32768:dai=-32768":dsp_x
vars="yer=7259:mth=-32768:dai=-32768":dsp_x
vars="yer=7259:mth=1:dai=1":dsp_x
vars="yer=7259:mth=0:dai=0":dsp_x
</script>
HTML Web Page In-line Output:
Results on Microsoft Windows 8.1 Pro x64, Microsoft-IIS/8.5, VBScript Version 5.8 of page /internet/users/sideblog/default.asp
varsDateSerial(yer,mth,dai), TypeNameyer=0:mth=1:dai=1[1/1/2000], Dateyer=1.4:mth=1.4:dai=1.4[1/1/2001], Dateyer=1.5:mth=1.5:dai=1.5[2/2/2002], Dateyer=1.6:mth=1.6:dai=1.6[2/2/2002], Dateyer=2.4:mth=2.4:dai=2.4[2/2/2002], Dateyer=2.5:mth=2.5:dai=2.5[2/2/2002], Dateyer=2.6:mth=2.6:dai=2.6[3/3/2003], Dateyer=9:mth=1:dai=1[1/1/2009], Dateyer=10:mth=1:dai=1[1/1/2010], Dateyer=11:mth=1:dai=1[1/1/2011], Dateyer=19:mth=1:dai=1[1/1/2019], Dateyer=20:mth=1:dai=1[1/1/2020], Dateyer=21:mth=1:dai=1[1/1/2021], Dateyer=29:mth=1:dai=1[1/1/2029], Dateyer=30:mth=1:dai=1[1/1/1930], Dateyer=31:mth=1:dai=1[1/1/1931], Dateyer=39:mth=1:dai=1[1/1/1939], Dateyer=90:mth=1:dai=1[1/1/1990], Dateyer=91:mth=1:dai=1[1/1/1991], Dateyer=99:mth=1:dai=1[1/1/1999], Dateyer=-1:mth=1:dai=1[1/1/1999], Dateyer=1:mth=-1:dai=1[11/1/2000], Dateyer=1:mth=1:dai=-1[12/30/2000], Dateyer=-1:mth=0:dai=1[12/1/1998], Dateyer=1:mth=-1:dai=0[10/31/2000], Dateyer=0:mth=1:dai=-1[12/30/1999], Dateyer=0:mth=0:dai=1[12/1/1999], Dateyer=0:mth=1:dai=0[12/31/1999], Dateyer=-1900:mth=1:dai=1[1/1/100], Dateyer=-1000:mth=1:dai=1[1/1/1000], Dateyer=0000:mth=0:dai=0[11/30/1999], Dateyer=0000:mth=1:dai=1[1/1/2000], Dateyer=9999:mth=12:dai=31[12/31/9999], Dateyer=9998:mth=12+1:dai=1[1/1/9999], Dateyer=9998:mth=11+1+1:dai=1[1/1/9999], Dateyer=9998:mth=13:dai=1[1/1/9999], Dateyer=9998:mth=1:dai=1[1/1/9998], Dateyer=9998:mth=0:dai=1[12/1/9997], Dateyer=9998:mth=-1:dai=1[11/1/9997], Dateyer=-4720:mth=32767:dai=32767[3/17/100], Dateyer=-1900:mth=32767:dai=32767[3/17/920], Dateyer=7179:mth=32767:dai=32767[3/17/9999], Dateyer=0:mth=-32768:dai=-32768[11/11/2640], Dateyer=-2540:mth=-32768:dai=-32768[11/12/100], Dateyer=7259:mth=-32768:dai=-32768[11/12/9899], Dateyer=7259:mth=1:dai=1[1/1/7259], Dateyer=7259:mth=0:dai=0[11/30/7258], Date

TimeSerial Function

last updated 9/21/2017

Create a date from given numeric expressions of hour, minute, and second.

Syntax

TimeSerial(hour, minute, second)

Argument

hourRequired. Any valid numeric expression. Valid numeric value, which is equal to Round(hour), is between 0 and 23 (12:00 AM and 11:00 PM) inclusive. minuteRequired. Any valid numeric expression. Valid numeric value, which is equal to Round(minute), is between 0 and 59 inclusive.secondRequired. Any valid numeric expression. Valid numeric value, which is equal to Round(second), is between 0 and 59 inclusive.

Returns

Returns a Variant of the Date data subtype containing the date converted from the given numeric expressions of hour, minute, and second.

Remarks

  • TimeSerial function is used to convert given numeric expressions of hour, minute, and second to a date.
  • The numeric expressions of hour, minute, and second can be divided into valid numeric values and acceptable numeric values.
  • The valid value for hour is between 0 and 23 inclusive. The valid value for minute and second is between 0 and 59 inclusive.
  • Therefore the valid return range of TimeSerial function is between #00:00:00# and #23:59:59# inclusive.
  • The acceptable values for hour, minute, and seconds are betweeen -32768 and 32767 inclusive.
  • The range of TimeSerial function return is therefore between #3/12/1896 11:14:08 AM# and #10/19/1903 10:13:07 AM# inclusive.
  • The handling of acceptable values outside the valid values is not the same as DateSerial function.
  • The hour, minute, and second argument are handled by a 24-hour (00:00:00 - 23:59:59) calculator with absolute return value.
  • Therefore the date part, hour, minute, and second are inter-related but with limitation when using arguments with negative value and involving the date part. In general, when any argument falls outside the valid range for that argument, the argument will be evaluated with other argument as appropriate.
  • For date part, The preset zero-date used in TimeSerial is #12/30/1899#.
  • However, the date part of a date can only be triggered when the absolute value of time part is greater than or equal to 24 hours
  • For the hour argument, the valid numeric value is between 0 and 23 inclusive and the acceptable numeric value is between -32768 and 32767 inclusive. Any number less than and equal to -24 will move the date part backward accordingly. Any number greater than and equal to 24 will move the date part forward accordingly.
  • For example, -49=24(-2)-1 means to move the preset zero-date 2 days backward. The -1 will then be processed by the 24-hour calculator. In general, a negative hour will never be returned. If both minute and second arguments are equal to zero, #1:00:00 AM# will be returned.
  • For the minute argument, the valid numeric value is between 0 and 59 inclusive and the acceptable numeric value is between -32768 and 32767 inclusive. Any number less than and equal to -60 will move the hour backward accordingly. Any number greater than and equal to 60 will move the hour part forward accordingly.
  • For example, -121=6(-2)-1 means to move the hour part 2 hours backward. The -1 will then be processed by the 24-hour calculator. In general, a negative hour will never be returned. If both hour and second arguments are equal to zero, #12:01:00 AM# will be returned.
  • For the second argument, the valid numeric value is between 0 and 59 inclusive and the acceptable numeric value is between -32768 and 32767 inclusive. Any number less than and equal to -60 will move the minute backward accordingly. Any number greater than and equal to 60 will move the hour part forward accordingly.
  • For example, -121=6(-2)-1 means to move the minute part 2 minutes backward. The -1 will then be processed by the 24-hour calculator. In general, a negative hour will never be returned. If both hour and minute arguments are equal to zero, #12:00:01 AM# will be returned.
  • The 24-hour calculator first converts hour and minutes arguments to second argument, that is times=3600*hour+60*minute+second. The day part over 24 hours is equal to days=Fix(times/86400). The returned date part is therefore equal to date=DateAdd("d",days,#12/30/1899#) when days not equal to zero. The returned time part is therefore equal to time=DateAdd("s",Abs(times-86400*days),#12:00:00 AM#).For any hour, minute, and second falls outside the acceptable range of values, DateSerial function returns a Run-time error.

Requirement

1
ASP VbScript Command:
<script runat="server" language="VBScript">
Dim vars,hor,min,sec,cmda,var:var=0
cmda=array("TimeSerial(hor,min,sec)")
Dim ucnt,tmp,i:ucnt=UBound(cmda):If var=1 Then:tmp="":Else:tmp="<b>vars</b>":End If:For i=0 to ucnt:tmp=tmp&"<b>"&rmv_ctrl(cmda(i))&", TypeName</b>":Next:Response.Write "Results on Microsoft Windows 8.1 Pro x64, Microsoft-IIS/8.5, VBScript Version 5.8 of page /internet/users/sideblog/default.asp<br />"&"<i>"&tmp&"</i>"
Function dsp_x:Dim tmp_a,tmp_b,i:If varx=0  Then:Execute vars:End If:If var=1 Then:tmp_a="":Else:tmp_a=rmv_ctrl(vars):End If:For i=0 to ucnt:tmp_b=cmd_b(cmda(i)):if i/2=fix(i/2) Then:tmp_b="<b>"&tmp_b&"</b>":End If:tmp_a=tmp_a&tmp_b:Next:Response.Write "<i>"&tmp_a&"</i>":End Function
Function rmv_ctrl(blk_str):Select Case blk_str:Case chr(0):blk_str="NUL":Case chr(1):blk_str="SOH":Case chr(2):blk_str="STX":Case chr(3):blk_str="ETX":Case chr(4):blk_str="EOT":Case chr(5):blk_str="ENQ":Case chr(6):blk_str="ACK":Case chr(7):blk_str="BEL":Case chr(8):blk_str="BS":Case chr(9):blk_str="HT":Case chr(10):blk_str="LF":Case chr(11):blk_str="VT":Case chr(12):blk_str="FF":Case chr(13):blk_str="CR":Case chr(14):blk_str="SO":Case chr(15):blk_str="SI":Case chr(16):blk_str="DLE":Case chr(17):blk_str="DC1":Case chr(18):blk_str="DC2":Case chr(19):blk_str="DC3":Case chr(20):blk_str="DC4":Case chr(21):blk_str="NAK":Case chr(22):blk_str="SYN":Case chr(23):blk_str="ETB":Case chr(24):blk_str="CAN":Case chr(25):blk_str="EM":Case chr(26):blk_str="SUB":Case chr(27):blk_str="ESC":Case chr(28):blk_str="FS":Case chr(29):blk_str="GS":Case chr(30):blk_str="RS":Case chr(31):blk_str="US":Case chr(127):blk_str="DEL":End Select:rmv_ctrl=blk_str:If IsNull(blk_str) OR IsEmpty(Blk_str) OR blk_str="" OR IsNumeric(Blk_str) Then:Else:rmv_ctrl=Replace(Replace(Replace(Replace(Replace(blk_str,"&","&amp;"),"  "," &nbsp;"),"""","&quot;"),"<","&lt;"),">","&gt;"): End If :End Function
Function cmd_b(blk_str):cmd_b="["&cmd_x(blk_str)&"], "&cmd_x("TypeName("&blk_str&")"):End Function
Function cmd_x(blk_str):On Error Resume Next:Dim xans, tmp:xans="":tmp="":execute "xans="&blk_str:If Err.Number <> 0  Then:xans=cmd_x("TypeName("&blk_str&")"):Select Case xans:Case 9::Case Else:xans="error":End Select:End If:If IsArray(xans)=False Then:cmd_x=rmv_ctrl(xans): Else:tmp=lst_arry(xans):cmd_x=trim(tmp):End If:End Function
Function lst_arry(blk_str):Dim tmp,i,q:q="""":tmp="":For i=0 to UBound(blk_str):if VarType(blk_str(i))>1 And VarType(blk_str(i))<6 Then:q="'":End If:tmp=tmp&" "&q&rmv_ctrl(blk_str(i))&q:Next:lst_arry=trim(tmp):End Function

vars="hor=0:min=0:sec=0":dsp_x
vars="hor=0:min=1:sec=1":dsp_x
vars="hor=1.4:min=1.4:sec=1.4":dsp_x
vars="hor=1.5:min=1.5:sec=1.5":dsp_x
vars="hor=1.6:min=1.6:sec=1.6":dsp_x
vars="hor=2.4:min=2.4:sec=2.4":dsp_x
vars="hor=2.5:min=2.5:sec=2.5":dsp_x
vars="hor=2.6:min=2.6:sec=2.6":dsp_x
vars="hor=9:min=1:sec=1":dsp_x
vars="hor=10:min=1:sec=1":dsp_x
vars="hor=11:min=1:sec=1":dsp_x
vars="hor=12:min=0:sec=0":dsp_x
vars="hor=12:min=59:sec=59":dsp_x
vars="hor=12:min=60:sec=60":dsp_x
vars="hor=13:min=0:sec=0":dsp_x
vars="hor=19:min=1:sec=1":dsp_x
vars="hor=20:min=1:sec=1":dsp_x
vars="hor=21:min=1:sec=1":dsp_x
vars="hor=23:min=59:sec=59":dsp_x
vars="hor=29:min=1:sec=1":dsp_x
vars="hor=30:min=1:sec=1":dsp_x
vars="hor=31:min=1:sec=1":dsp_x
vars="hor=39:min=1:sec=1":dsp_x
vars="hor=90:min=1:sec=1":dsp_x
vars="hor=91:min=1:sec=1":dsp_x
vars="hor=99:min=1:sec=1":dsp_x
vars="hor=1:min=-1:sec=-1":dsp_x
vars="hor=-1:min=1:sec=1":dsp_x
vars="hor=1:min=1:sec=-1":dsp_x
vars="hor=-1:min=-1:sec=1":dsp_x
vars="hor=1:min=1:sec=1":dsp_x
vars="hor=-1:min=-1:sec=-1":dsp_x
vars="hor=1:min=-1:sec=1":dsp_x
vars="hor=-1:min=1:sec=-1":dsp_x
vars="hor=29:min=-1:sec=1":dsp_x
vars="hor=-29:min=1:sec=-1":dsp_x
vars="hor=1:min=0:sec=0":dsp_x
vars="hor=-1:min=0:sec=0":dsp_x
vars="hor=-23:min=0:sec=0":dsp_x
vars="hor=-23:min=-59:sec=-59":dsp_x
vars="hor=23:min=59:sec=59":dsp_x
vars="hor=-24:min=0:sec=0":dsp_x
vars="hor=24:min=0:sec=0":dsp_x
vars="hor=-24:min=-59:sec=-59":dsp_x
vars="hor=24:min=59:sec=59":dsp_x
vars="hor=-25:min=-59:sec=-59":dsp_x
vars="hor=25:min=59:sec=59":dsp_x
vars="hor=-26:min=-59:sec=-59":dsp_x
vars="hor=26:min=59:sec=59":dsp_x
vars="hor=-2:min=-59:sec=-59":dsp_x
vars="hor=2:min=-59:sec=-59":dsp_x
vars="hor=2:min=59:sec=59":dsp_x
vars="hor=-1:min=-59:sec=-59":dsp_x
vars="hor=1:min=-59:sec=-59":dsp_x
vars="hor=1:min=59:sec=59":dsp_x
vars="hor=0:min=-1440:sec=0":dsp_x
vars="hor=0:min=1440:sec=0":dsp_x
vars="hor=0:min=-894:sec=-32768":dsp_x
vars="hor=0:min=894:sec=32767":dsp_x
vars="hor=0:min=-1:sec=0":dsp_x
vars="hor=0:min=1:sec=0":dsp_x
vars="hor=0:min=-59:sec=0":dsp_x
vars="hor=0:min=59:sec=0":dsp_x
vars="hor=0:min=-60:sec=0":dsp_x
vars="hor=0:min=60:sec=0":dsp_x
vars="hor=0:min=0:sec=-1":dsp_x
vars="hor=0:min=0:sec=1":dsp_x
vars="hor=0:min=0:sec=-59":dsp_x
vars="hor=0:min=0:sec=59":dsp_x
vars="hor=0:min=0:sec=-60":dsp_x
vars="hor=0:min=0:sec=60":dsp_x
vars="hor=-1900:min=1:sec=1":dsp_x
vars="hor=-1000:min=1:sec=1":dsp_x
vars="hor=0000:min=0:sec=0":dsp_x
vars="hor=0000:min=1:sec=1":dsp_x
vars="hor=9999:min=12:sec=31":dsp_x
vars="hor=9998:min=12+1:sec=1":dsp_x
vars="hor=9998:min=11+1+1:sec=1":dsp_x
vars="hor=9998:min=13:sec=1":dsp_x
vars="hor=9998:min=1:sec=1":dsp_x
vars="hor=9998:min=0:sec=1":dsp_x
vars="hor=9998:min=-1:sec=1":dsp_x
vars="hor=32767:min=32767:sec=32767":dsp_x
vars="hor=-4720:min=32767:sec=32767":dsp_x
vars="hor=-1900:min=32767:sec=32767":dsp_x
vars="hor=7179:min=32767:sec=32767":dsp_x
vars="hor=-32768:min=-32768:sec=-32768":dsp_x
vars="hor=0:min=-32768:sec=-32768":dsp_x
vars="hor=-2540:min=-32768:sec=-32768":dsp_x
vars="hor=7259:min=-32768:sec=-32768":dsp_x
vars="hor=7259:min=1:sec=1":dsp_x
vars="hor=7259:min=0:sec=0":dsp_x
</script>
HTML Web Page In-line Output:
Results on Microsoft Windows 8.1 Pro x64, Microsoft-IIS/8.5, VBScript Version 5.8 of page /internet/users/sideblog/default.asp
varsTimeSerial(hor,min,sec), TypeNamehor=0:min=0:sec=0[12:00:00 AM], Datehor=0:min=1:sec=1[12:01:01 AM], Datehor=1.4:min=1.4:sec=1.4[1:01:01 AM], Datehor=1.5:min=1.5:sec=1.5[2:02:02 AM], Datehor=1.6:min=1.6:sec=1.6[2:02:02 AM], Datehor=2.4:min=2.4:sec=2.4[2:02:02 AM], Datehor=2.5:min=2.5:sec=2.5[2:02:02 AM], Datehor=2.6:min=2.6:sec=2.6[3:03:03 AM], Datehor=9:min=1:sec=1[9:01:01 AM], Datehor=10:min=1:sec=1[10:01:01 AM], Datehor=11:min=1:sec=1[11:01:01 AM], Datehor=12:min=0:sec=0[12:00:00 PM], Datehor=12:min=59:sec=59[12:59:59 PM], Datehor=12:min=60:sec=60[1:01:00 PM], Datehor=13:min=0:sec=0[1:00:00 PM], Datehor=19:min=1:sec=1[7:01:01 PM], Datehor=20:min=1:sec=1[8:01:01 PM], Datehor=21:min=1:sec=1[9:01:01 PM], Datehor=23:min=59:sec=59[11:59:59 PM], Datehor=29:min=1:sec=1[12/31/1899 5:01:01 AM], Datehor=30:min=1:sec=1[12/31/1899 6:01:01 AM], Datehor=31:min=1:sec=1[12/31/1899 7:01:01 AM], Datehor=39:min=1:sec=1[12/31/1899 3:01:01 PM], Datehor=90:min=1:sec=1[1/2/1900 6:01:01 PM], Datehor=91:min=1:sec=1[1/2/1900 7:01:01 PM], Datehor=99:min=1:sec=1[1/3/1900 3:01:01 AM], Datehor=1:min=-1:sec=-1[12:58:59 AM], Datehor=-1:min=1:sec=1[12:58:59 AM], Datehor=1:min=1:sec=-1[1:00:59 AM], Datehor=-1:min=-1:sec=1[1:00:59 AM], Datehor=1:min=1:sec=1[1:01:01 AM], Datehor=-1:min=-1:sec=-1[1:01:01 AM], Datehor=1:min=-1:sec=1[12:59:01 AM], Datehor=-1:min=1:sec=-1[12:59:01 AM], Datehor=29:min=-1:sec=1[12/31/1899 4:59:01 AM], Datehor=-29:min=1:sec=-1[12/29/1899 4:59:01 AM], Datehor=1:min=0:sec=0[1:00:00 AM], Datehor=-1:min=0:sec=0[1:00:00 AM], Datehor=-23:min=0:sec=0[11:00:00 PM], Datehor=-23:min=-59:sec=-59[11:59:59 PM], Datehor=23:min=59:sec=59[11:59:59 PM], Datehor=-24:min=0:sec=0[12/29/1899], Datehor=24:min=0:sec=0[12/31/1899], Datehor=-24:min=-59:sec=-59[12/29/1899 12:59:59 AM], Datehor=24:min=59:sec=59[12/31/1899 12:59:59 AM], Datehor=-25:min=-59:sec=-59[12/29/1899 1:59:59 AM], Datehor=25:min=59:sec=59[12/31/1899 1:59:59 AM], Datehor=-26:min=-59:sec=-59[12/29/1899 2:59:59 AM], Datehor=26:min=59:sec=59[12/31/1899 2:59:59 AM], Datehor=-2:min=-59:sec=-59[2:59:59 AM], Datehor=2:min=-59:sec=-59[1:00:01 AM], Datehor=2:min=59:sec=59[2:59:59 AM], Datehor=-1:min=-59:sec=-59[1:59:59 AM], Datehor=1:min=-59:sec=-59[12:00:01 AM], Datehor=1:min=59:sec=59[1:59:59 AM], Datehor=0:min=-1440:sec=0[12/29/1899], Datehor=0:min=1440:sec=0[12/31/1899], Datehor=0:min=-894:sec=-32768[12/29/1899 12:00:08 AM], Datehor=0:min=894:sec=32767[12/31/1899 12:00:07 AM], Datehor=0:min=-1:sec=0[12:01:00 AM], Datehor=0:min=1:sec=0[12:01:00 AM], Datehor=0:min=-59:sec=0[12:59:00 AM], Datehor=0:min=59:sec=0[12:59:00 AM], Datehor=0:min=-60:sec=0[1:00:00 AM], Datehor=0:min=60:sec=0[1:00:00 AM], Datehor=0:min=0:sec=-1[12:00:01 AM], Datehor=0:min=0:sec=1[12:00:01 AM], Datehor=0:min=0:sec=-59[12:00:59 AM], Datehor=0:min=0:sec=59[12:00:59 AM], Datehor=0:min=0:sec=-60[12:01:00 AM], Datehor=0:min=0:sec=60[12:01:00 AM], Datehor=-1900:min=1:sec=1[10/12/1899 3:58:59 AM], Datehor=-1000:min=1:sec=1[11/19/1899 3:58:59 PM], Datehor=0000:min=0:sec=0[12:00:00 AM], Datehor=0000:min=1:sec=1[12:01:01 AM], Datehor=9999:min=12:sec=31[2/19/1901 3:12:31 PM], Datehor=9998:min=12+1:sec=1[2/19/1901 2:13:01 PM], Datehor=9998:min=11+1+1:sec=1[2/19/1901 2:13:01 PM], Datehor=9998:min=13:sec=1[2/19/1901 2:13:01 PM], Datehor=9998:min=1:sec=1[2/19/1901 2:01:01 PM], Datehor=9998:min=0:sec=1[2/19/1901 2:00:01 PM], Datehor=9998:min=-1:sec=1[2/19/1901 1:59:01 PM], Datehor=32767:min=32767:sec=32767[10/19/1903 10:13:07 AM], Datehor=-4720:min=32767:sec=32767[7/10/1899 12:46:53 PM], Datehor=-1900:min=32767:sec=32767[11/4/1899 12:46:53 AM], Datehor=7179:min=32767:sec=32767[11/17/1900 6:13:07 AM], Datehor=-32768:min=-32768:sec=-32768[3/12/1896 11:14:08 AM], Datehor=0:min=-32768:sec=-32768[12/7/1899 3:14:08 AM], Datehor=-2540:min=-32768:sec=-32768[8/24/1899 11:14:08 PM], Datehor=7259:min=-32768:sec=-32768[10/5/1900 7:45:52 AM], Datehor=7259:min=1:sec=1[10/28/1900 11:01:01 AM], Datehor=7259:min=0:sec=0[10/28/1900 11:00:00 AM], Date

Sideway BICK Blog

28/03


Copyright © 2000-2020 Sideway . All rights reserved Disclaimerslast modified on 26 January 2013