I am using Foldername.DateCreated to get date and time of a the folder. I am using FormatDateTime( foldername.Datecreated, 2)to get only the date (i.e, 1/6/2010). now what I need is to store this value in an array. How can I do that? it gives me an error of type mismatched.

my project is about getting a specific date of some folders and store them in an array. I really appreciate your help.