This topic is locked

type mismatch error when writing date to page

7/10/2009 6:27:42 PM
ASPRunnerPro General questions
T
Tim author

In version 6.1 build 2450 I attempt to add a code snippet to any page with the following code:
Response.Write "Date: " + Now()
And it produces this error in IE:
Microsoft VBScript runtime error '800a000d'

Type mismatch: '[string: "Date:"]'

/TheTool/include/jobs_events.asp, line 178
Am I doing something wrong?

Thanks,

Tim

J
Jane 7/13/2009

Ti,
try to use this one:

Response.Write "Date: " & Now()

T
Tim author 7/13/2009

Ah, yes. I knew it was something stupid.
Thanks Jane,

Tim