Table of Contents

TTMSFNCUtils.DateToISO Method

Formats a date value as an ISO-like string.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

class function DateToISO(const ADate: TDate; AAddDelimiters: Boolean = False): string;

Parameters

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

Returns

Formatted date string.