date problem

Results 1 to 2 of 2

Thread: date problem

  1. #1
    angie Guest

    Default date problem

    Hi...<BR><BR>I have this date problem....<BR>request.QueryString("date") is not empty...I checked already...when i reponse.write the date, I can see that the date has been passed on the other page....but the error is still there....<BR><BR>let me purposely put the date...here&#039s the code:<BR><BR>************************************* *********************<BR>date_="31/08/99"<BR> <BR>Response.Write vbTab & vbTab & "&#060;TD BGCOLOR=#00ffff&#062;&#060;A HREF=""displayUserLog.asp?date_=" & date_ & """&#062;&#060;FONT SIZE=""-1""&#062;" & iCurrent & "&#060;/FONT&#062;&#060;/A&#062;<BR><BR>&#060;/TD&#062;" <BR>********************************************** **************** <BR>Now in file displayUserLog.asp, I have:<BR><BR>************************************* ****************<BR>daterequested = CDate(Request.QueryString("date_"))<BR>response.wr ite daterequested<BR>myDay = Day(daterequested) &#039&#039&#039&#039&#039&#039error line 76&#039&#039&#039&#039&#039<BR>....<BR>*********** ******************************************** <BR><BR>error msg:<BR><BR>31/08/99 &#039&#039&#039this is the daterequested&#039&#039&#039&#039&#039&#039&#039<B R>Microsoft VBScript runtime error &#039 800a000d&#039 <BR><BR>Type mismatch: &#039[undefined]&#039 <BR><BR>/angie/admin/displayUserLog.asp, line 76 <BR><BR>

  2. #2
    Join Date
    Dec 1969
    Posts
    52

    Default RE: date problem

    Can try to put the date in this format:<BR>08/31/99 (mm/dd/yy)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •