Hello Creator’s,
Here you with the solution of How to get the modified date and time of Particular Word or Excel file.
Regards,
Srenivasan Kannan
Hello Creator’s,
Here you with the solution of How to get the modified date and time of Particular Word or Excel file.
Regards,
Srenivasan Kannan
Hi ,
I have tried using System.IO.File.GetLastWriteTime(" “) it does not shows valid date, shows garbage value of date something like this:
I also tried using System.IO.File.GetCreationTime(” ") same output .
Yes.
You should give the entire file path with extension of file.
Ex. (“C:\Program files\Mynewfile\sample.docx”)
Thanks issue is resolved. I have given filename with extension(.txt) and it worked.