Forum Discussion
TanyaYatskovska
12 years agoSmartBear Alumni (Retired)
Hi,
That's strange. Let's check how Microsoft's FileSystemObject object works in this situation. Could you please execute the following code and let us know what result you get?
function GetFileDateLastModified()
{
var fs, file;
var FileName = "PathToTheFile";
fs = Sys.OleObject("Scripting.FileSystemObject");
if (fs.FileExists(FileName))
{
file = fs.GetFile(FileName);
var dateLastModified = file.DateLastModified;
Log.Message(dateLastModified);
}
}
Related Content
- 10 years ago
- 2 years agoAnonymous
- 6 years ago
- 9 years ago
Recent Discussions
- 3 days ago
- 3 days ago
- 7 days ago