Discuss this help topic in SecureBlackbox Forum


TElCustomFileSystemAdapter     See also     

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

Gets file creation, modification and access times.


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

    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)

    int fileGetTimes(String Path, TElVFSFileTimes Times);


  • 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.
  • Times -

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