COuld anybody just give me a hint what would be an optimal solution to delete from VB all files in a folder that older then 30 days?
Thanks,
Yuri:rolleyes:
Printable View
COuld anybody just give me a hint what would be an optimal solution to delete from VB all files in a folder that older then 30 days?
Thanks,
Yuri:rolleyes:
try setting a variable to the DateAdd function.
Code:strPrevDte = DateAdd("m", -1, strDat)