mdiglio
asked on
vbscript date
Hello,
I can't seem to work this out using vbscript,
I am trying to enumerate a text file that is formatted like this
groupname,folder,6/6/06,7/ 1/06
I am using the split function and I want to do something like this:
If Myarr(2) or Myarr(3) = today then do something
right now I have something like this:
t = Date
If Myarr(2) = t then
msgbox "today"
end if
I can make the 2 date entries any format that makes it easier for you;
20060606,6/6/06,06/06/06
if I use VB6 it works but I would like to keep it in vbscript
Thanks for any help you can give me
I can't seem to work this out using vbscript,
I am trying to enumerate a text file that is formatted like this
groupname,folder,6/6/06,7/
I am using the split function and I want to do something like this:
If Myarr(2) or Myarr(3) = today then do something
right now I have something like this:
t = Date
If Myarr(2) = t then
msgbox "today"
end if
I can make the 2 date entries any format that makes it easier for you;
20060606,6/6/06,06/06/06
if I use VB6 it works but I would like to keep it in vbscript
Thanks for any help you can give me
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
mdiglio,
You're most welcome :)
Regards,
Patrick
You're most welcome :)
Regards,
Patrick
ASKER
Works great!