I want to play the time when a person comes to the WEB page
in VBScript:
here is what I have so far:
---------------------
<%find1Colon = Instr(1,FormatDateTime(Now, 3),":"%>
<%find2Colon = Instr(find1Colon,FormatDateTime(Now, 3),":"%>
<%Hour1=trim(left(FormatDateTime(Now, 3),find1Colon -1))%>
<%Minute1=mid(FormatDateTime(Now, 3),find1Colon+1,2)%>
<%ampm1=right(FormatDateTime(Now, 3),2)%>
<%TheHour = "timesound/TA" & Hour1 & ".WAV"%>
<%TheMinute = "timesound/TA" & Minute1 & ".WAV"%>
<%TheDay = "timesound/TA" & ampm1 & ".WAV"%>
<BGSOUND SRC="<%=TheHour%>" LOOP="1">
<BGSOUND SRC="<%=TheMinute%>" LOOP="1">
<BGSOUND SRC="<%=TheDay%>" LOOP="1">
----------------------------
but it only plays the first sound
I realize BGSOUND is not right...
Does any one have any ideas though??
TIA
DougP, MCP
dposton@universal1.com
Ask me how Bar-codes can help you be more productive.
in VBScript:
here is what I have so far:
---------------------
<%find1Colon = Instr(1,FormatDateTime(Now, 3),":"%>
<%find2Colon = Instr(find1Colon,FormatDateTime(Now, 3),":"%>
<%Hour1=trim(left(FormatDateTime(Now, 3),find1Colon -1))%>
<%Minute1=mid(FormatDateTime(Now, 3),find1Colon+1,2)%>
<%ampm1=right(FormatDateTime(Now, 3),2)%>
<%TheHour = "timesound/TA" & Hour1 & ".WAV"%>
<%TheMinute = "timesound/TA" & Minute1 & ".WAV"%>
<%TheDay = "timesound/TA" & ampm1 & ".WAV"%>
<BGSOUND SRC="<%=TheHour%>" LOOP="1">
<BGSOUND SRC="<%=TheMinute%>" LOOP="1">
<BGSOUND SRC="<%=TheDay%>" LOOP="1">
----------------------------
but it only plays the first sound
I realize BGSOUND is not right...
Does any one have any ideas though??
TIA
DougP, MCP
dposton@universal1.com
Ask me how Bar-codes can help you be more productive.