System.IOUtils.TDirectory.GetCreationTimeUtc
Delphi
class function GetCreationTimeUtc(const Path: string): TDateTime; static;
C++
static System::TDateTime __fastcall GetCreationTimeUtc(const System::UnicodeString Path);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.IOUtils.pas System.IOUtils.hpp |
System.IOUtils | TDirectory |
Description
Returns the creation time of a directory in UTC (Coordinated Universal Time) time zone.
Use GetCreationTimeUtc to obtain the creation time of a directory in UTC (Coordinated Universal Time) time zone. The following table lists the parameters expected by this method.
Name | Meaning |
---|---|
Path |
Path of the directory for which the creation time is obtained. |
Note: GetCreationTimeUtc raises an exception if the given path is invalid or the directory does not exist.