Discuss this help topic in SecureBlackbox Forum


TElCustomFileSystemAdapter     See also     

Filter: C#/Java  VB.NET  Pascal  C++  PHP  

Gets file creation, modification and access times.


    virtual int FileGetTimes(string Path, ref DateTime CreationTime, ref DateTime ModificationTime, ref DateTime LastAccessTime);

    Overridable Function FileGetTimes(ByVal Path As String, ByRef CreationTime As DateTime, ByRef ModificationTime As DateTime, ByRef LastAccessTime As DateTime) As Integer

    function FileGetTimes(const Path : string; var CreationTime, ModificationTime, LastAccessTime : TDateTime) : integer; virtual;

    int32_t FileGetTimes(const std::string &Path, int64_t &CreationTime, int64_t &ModificationTime, int64_t &LastAccessTime);

    integer FileGetTimes(string $Path, DateTime &$CreationTime, DateTime &$ModificationTime, DateTime &$LastAccessTime)


  • Path - path to the file which times are needed.
  • CreationTime - specifies file creation time.
  • ModificationTime - specifies file modification time.
  • LastAccessTime - specifies last access time of the file.

Return value

    Returns a VFS error code.

Possible values:


    Use this method to retrieve different system times for the specified file.

See also:     FileSetTimes    

Discuss this help topic in SecureBlackbox Forum