PDF Explorer > General

Question about the Date Parameter

<< < (2/2)

RTT:
Check the DateLastAccessed property of the FileSystemObject


--- Code: ---function DateLastAccessed() {
    var fso, f;
    fso = new ActiveXObject("Scripting.FileSystemObject");
    f = fso.GetFile(BatchFile.Filename);
    return f.DateLastModified;
}

--- End code ---

Padanges:
Thanks. The code works fine. Though, operating systems handle time stamping differently depending on the file system in use, therefore it's tricky to "audit" Access Date properly.

RTT:
If you know the file system, you may take these differences into account.
https://msdn.microsoft.com/en-us/library/ch28h2s7(v=VS.85).aspx

Navigation

[0] Message Index

[*] Previous page

Go to full version