TTMSFNCUtils.EpochToDateTime Method
Converts a Unix epoch value to a Delphi date/time value.
API unit family: TMSFNCUtils
Declaring type: TTMSFNCUtils
Syntax
class function EpochToDateTime(const AEpoch: string): TDateTime;
Parameters
| Name | Description |
|---|---|
AEpoch |
Epoch value in seconds, represented as a string. |
Returns
Date/time value corresponding to the epoch.