|
-
September 28th, 2001, 07:47 AM
#1
TimeStamp feature in an ASP page
Here's the problem:
I have created an ASP listener page that would save every incoming package into a file on the local IIS/Server with a generic name, but the files cannot have the same name because that would overwrite the preivous file. The code is in the ASP file - VBSript.
'Here's the code:
set xmlDoc = Server.CreateObject("MSXML.DOMDocument")
xmlDoc.Save(Server.mappath("TEST.xml"))
'I have tried to "TimeStamp" the file, but I kept getting error messages - it doesn't recognize "NOW":
TimeStamp = Now()
xmlDoc.Save(Server.mappath(TimeStamp & ".xml"))
Any suggestions?
THANKS!!!
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|