Skip to main content
Table of Contents

TTMSFNCUtils.DateTimeToUTC Method

Formats a date/time value as a UTC date/time string.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

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

Parameters

Name Description
ADateTime Date/time value to convert.

Returns

UTC-formatted date/time string.