SolFSStorage.GetFileModificationTime method


Pascal    Plain C    C++ (DLL/Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET    Java 

SolFSStorage     See also    


Returns time of the last file modification.


    function GetFileModificationTime(const FileName: TSolFSString): TDateTime;

[Plain C]
    long _stdcall StorageGetFileModificationTime(unsigned long Storage, const wchar_t* FileName, double *Time);

[C++ (DLL/Lib)]
    DateTime GetFileModificationTime(const unsigned short * FileName);

[C++ (VCL)]
    TDateTime __fastcall GetFileModificationTime(const TSolFSString FileName);

[C++ (.NET)]
    System::DateTime GetFileModificationTime(String* fileName)

    System.DateTime GetFileModificationTime(string fileName)

    Function GetFileModificationTime(string fileName) As DateTime

    Date getFileModificationTime(String fileName)


  • FileName - the full file name in the SolFSStorage.
  • [Plain C] Storage - handle to the storage returned by Create or Open function.
  • [Plain C] Time - returns time of the last modification of the file.

Return value

    Time of the last modification of the file.

     [Plain C]  0 if the function succeeded or one of Error codes if the function failed.


Use GetFileModificationTime to determine time of last modification of the file. CBFS Storage operates with UTC time. Wrapper classes operate with system local time.

See also