From Clomosy Docs

Revision as of 12:08, 27 February 2023 by ClomosyManager (talk | contribs) (Created page with " function DateToStr(Date TDateTime):string; The DateToStr function converts a DateTime value to a formatted date string. '''Example:'''<br> begin ShowMessage('myDate = '+'''DateToStr'''(Date)); end; '''Output:'''<br> myDate = 27.02.2023")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

function DateToStr(Date TDateTime):string;

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

Example:

begin
  ShowMessage('myDate = '+DateToStr(Date));
end;

Output:

myDate = 27.02.2023