rosenzl
03-10-2003, 02:41 PM
I need to get the date into the following ASP code:
What method can I use to call the function and get the returned date into the code below? Specifically, TODAYDATE.
<!--webbot bot="Validation" s-display-name="Choose" b-disallow-first-item="TRUE" --><Select Name="thedates">
<option name="-choose-" value="-choose-" <% if thedates = "-choose-" then response.write "selected" end if%>>-choose-</option>
<option name="Pickup" value="<%=todaydate%>" <% if thedates = " & todaydate &" then response.write "selected" end if %>><%= todaydate %></option>
<option name="Delivery" value="<%=tomdate%>" <% if thedates = " & tomdate &" then response.write "selected" end if %>><%= tomdate %></option>
Report this post to a moderator | IP: Logged
03-10-2003 02:27 PM
What method can I use to call the function and get the returned date into the code below? Specifically, TODAYDATE.
<!--webbot bot="Validation" s-display-name="Choose" b-disallow-first-item="TRUE" --><Select Name="thedates">
<option name="-choose-" value="-choose-" <% if thedates = "-choose-" then response.write "selected" end if%>>-choose-</option>
<option name="Pickup" value="<%=todaydate%>" <% if thedates = " & todaydate &" then response.write "selected" end if %>><%= todaydate %></option>
<option name="Delivery" value="<%=tomdate%>" <% if thedates = " & tomdate &" then response.write "selected" end if %>><%= tomdate %></option>
Report this post to a moderator | IP: Logged
03-10-2003 02:27 PM