morinia
asked on
Assign today's date to a variable using VB Script
Experts,
I have a VB script that i am currently running to copy files from one folder to another. I would like to assign today's date to variable tday.
I would then like to make a concatatenated variable of the date to be:
YYMMDD thus today would be 140304
How would I do this in my script.
I am having a problem just assigning today's date for some reason. I am running in Windows 7.
I have a VB script that i am currently running to copy files from one folder to another. I would like to assign today's date to variable tday.
I would then like to make a concatatenated variable of the date to be:
YYMMDD thus today would be 140304
How would I do this in my script.
I am having a problem just assigning today's date for some reason. I am running in Windows 7.
ASKER
This gives me a type format error
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window