Get date modified for a particular file from folder


#1

I am opening a folder and getting the name of a particular file with the latest date modified. This part is fine. I would also like to get the Date modified timestamp for that particular file. How can I get it.


#2

Hi,
The following snippet can be useful for getting timestamp.
File.GetLastWriteTime(path).ToString


#3

Thanks that works…Cheers!!!