From Clomosy Docs

Revision as of 12:17, 27 February 2023 by ClomosyManager (talk | contribs)

function DateToStr(Date TclDateTime):string;

The DateToStr function converts a DateTime value to a formatted date string.

Example:

var
  myDate : TclDateTime;
begin myDate := StrToDate('27.02.2023'); ShowMessage('myDate = '+DateToStr(myDate)); end;

Output:

myDate = 27.02.2023