Get date modified for a particular file from folder

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.

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

2 Likes

Thanks that works…Cheers!!!

1 Like