Get creation date and time of a directory

Rajni.Shekhar
Posted by Rajni.Shekhar under ASP.NET category on | Points: 40 | Views : 1755
use Directory.GetCreationTime to get creation date and time of a directory.


using system.IO;
Response.Write("The directory was created successfully at " + Directory.GetCreationTime(@"C\Dir")); \\any folder name or directory name which exists

Comments or Responses

Login to post response