TTMSFNCUtils.DateTimeToUTC Method
Formats a date/time value as a UTC date/time string.
API unit family: TMSFNCUtils
Declaring type: TTMSFNCUtils
Syntax
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.