Skip to main content
Table of Contents

TTMSFNCUtils.EpochToDateTime Method

Converts a Unix epoch value to a Delphi date/time value.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

FMX.TMSFNCUtils.hppPascalC++
class function EpochToDateTime(const AEpoch: string): TDateTime;
__classmethod System::TDateTime __fastcall EpochToDateTime(const System::UnicodeString AEpoch);

Parameters

Name Description
AEpoch Epoch value in seconds, represented as a string.

Returns

Date/time value corresponding to the epoch.