Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


[Solved] Getting the system date and time

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,49811
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> [Solved] Getting the system date and time
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 [Solved] Getting the system date and time - 7/22/2007 10:11:09 PM   
  pookmail

 

Posts: 1
Score: 0
Joined: 8/29/2006
Status: offline
Hi, I have a function that moves a file to a certain folder. The function is called like this:

ArchiveLogFile hmiDataLog, "log_variable", "folder", hmiMove

Where "log_variable" is the name of the variable whose log file is to be moved, and 'folder' is the name of the folder into which the file will be moved. Now, I'd like the folder name to be the current date and time; an example would be '2007-07-23 16:40'. What do I replace the 'folder' string with?


-edit: Solved!

< Message edited by pookmail -- 7/22/2007 10:17:48 PM >
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> [Solved] Getting the system date and time Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts