Skip to main content
Table of Contents

TTMSFNCUtils.DateToISO Method

Formats a date value as an ISO-like string.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

FMX.TMSFNCUtils.hppPascalC++
class function DateToISO(const ADate: TDate; AAddDelimiters: Boolean = False): string;
__classmethod System::UnicodeString __fastcall DateToISO(const System::TDate ADate, bool AAddDelimiters = false);

Parameters

Name Description
ADate Date value to format.
AAddDelimiters When True, includes date delimiters in the output.

Returns

Formatted date string.